mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-02 06:46:29 -04:00
Fix build workflow by building wayland 1.23.1 from source
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
This commit is contained in:
parent
f1b97a5453
commit
b67179d9c6
2 changed files with 22 additions and 8 deletions
15
.github/workflows/README.md
vendored
15
.github/workflows/README.md
vendored
|
|
@ -19,18 +19,19 @@ This directory contains the GitHub Actions workflows for the MangoWC project.
|
|||
- Workflow file itself: `.github/workflows/build.yml`
|
||||
|
||||
**What it does**:
|
||||
1. Installs system dependencies (wayland, libinput, etc.)
|
||||
2. Builds wlroots 0.19 from source
|
||||
3. Builds scenefx 0.4 from source
|
||||
4. Configures the project with meson
|
||||
5. Builds the project with ninja
|
||||
6. Verifies the executables were created
|
||||
1. Installs system dependencies (libinput, libdrm, etc.)
|
||||
2. Builds wayland 1.23.1 from source (Ubuntu has older 1.22)
|
||||
3. Builds wlroots 0.19 from source
|
||||
4. Builds scenefx 0.4.1 from source
|
||||
5. Configures the project with meson
|
||||
6. Builds the project with ninja
|
||||
7. Verifies the executables were created
|
||||
|
||||
**Dependencies**:
|
||||
- Ubuntu latest runner
|
||||
- Meson build system
|
||||
- Ninja build tool
|
||||
- Wayland ecosystem libraries
|
||||
- Wayland 1.23.1 (built from source)
|
||||
- wlroots 0.19
|
||||
- scenefx 0.4.1
|
||||
|
||||
|
|
|
|||
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
|
@ -44,7 +44,6 @@ jobs:
|
|||
meson \
|
||||
ninja-build \
|
||||
wayland-protocols \
|
||||
libwayland-dev \
|
||||
libinput-dev \
|
||||
libxkbcommon-dev \
|
||||
libpcre2-dev \
|
||||
|
|
@ -57,8 +56,22 @@ jobs:
|
|||
libliftoff-dev \
|
||||
libdisplay-info-dev \
|
||||
libseat-dev \
|
||||
libffi-dev \
|
||||
libexpat1-dev \
|
||||
libxml2-dev \
|
||||
pkg-config
|
||||
|
||||
- name: Build and install wayland 1.23
|
||||
run: |
|
||||
# Build wayland 1.23 from source since Ubuntu has older version
|
||||
git clone https://gitlab.freedesktop.org/wayland/wayland.git
|
||||
cd wayland
|
||||
git checkout 1.23.1
|
||||
meson setup build/ --prefix=/usr -Ddocumentation=false
|
||||
sudo ninja -C build/ install
|
||||
sudo ldconfig
|
||||
cd ..
|
||||
|
||||
- name: Install wlroots 0.19
|
||||
run: |
|
||||
# Install wlroots 0.19 from source since it may not be in apt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue