Skip to content

Commit

Permalink
CI: Build wayland 1.23 manually
Browse files Browse the repository at this point in the history
Without edge, latest only has 1.22 until possibly Nov '24, when alpine image
3.21 is released.
  • Loading branch information
soreau committed Aug 28, 2024
1 parent 5be0549 commit 3d62a67
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ jobs:
container: alpine:latest
steps:
- run: apk --no-cache add git gcc g++ binutils pkgconf meson ninja musl-dev wayland-dev wayland-protocols libinput-dev libevdev-dev libxkbcommon-dev pixman-dev glm-dev libdrm-dev mesa-dev cairo-dev pango-dev eudev-dev libxml2-dev libseat-dev libxcb-dev xcb-util-wm-dev xwayland doctest doctest-dev cmake libdisplay-info-dev hwdata-dev nlohmann-json
- uses: actions/checkout@v1
- name: Wayland
- run: git clone https://gitlab.freedesktop.org/wayland/wayland && cd wayland && git checkout 1.23.0 && meson setup build -Ddocumentation=false -Dtests=false --prefix=/usr && ninja -v -Cbuild && ninja -v -Cbuild install && cd ..
- name: Wayfire
with:
repository: WayfireWM/wayfire
path: wayfire
- uses: actions/checkout@v2
- run: git config --global --add safe.directory /__w/wayfire/wayfire
- run: git submodule sync --recursive && git submodule update --init --force --recursive
- run: (cd subprojects/wlroots && meson build --prefix=/usr && ninja -C build install)
Expand All @@ -32,7 +38,7 @@ jobs:
- run: pacman --noconfirm --noprogressbar -Sy git clang17 lld libc++ pkgconf cmake meson ninja wayland wayland-protocols libinput libxkbcommon pixman glm libdrm libglvnd cairo pango systemd scdoc base-devel seatd hwdata libdisplay-info openmp nlohmann-json

# Build Wayfire
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- run: git config --global --add safe.directory /__w/wayfire/wayfire
- run: git submodule sync --recursive && git submodule update --init --force --recursive
- run: find /usr/bin/ | grep clang
Expand All @@ -46,7 +52,7 @@ jobs:
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y git cmake gcc make
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- run: git clone http://github.com/ammen99/uncrustify
- run: cd uncrustify && mkdir build && cd build && cmake ../ && make && cd ../../
- run: git ls-files | grep "hpp$\|cpp$" | xargs ./uncrustify/build/uncrustify -c uncrustify.ini --no-backup --replace
Expand Down

0 comments on commit 3d62a67

Please sign in to comment.