-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
egl-wayland: enable CI with github actions
This enables CI for github actions builds, aimed for helping verify new pull requests. This adds tests for the meson and autotools builds on ubuntu 24.04. Other distros are apparently not supported by default so we aren't able to expand testing this way.
- Loading branch information
Showing
4 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Arch Build | ||
on: [push, pull_request] | ||
jobs: | ||
Meson-Build: | ||
runs-on: ubuntu-24.04 | ||
container: | ||
image: archlinux:latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: pacman --noconfirm -Syy | ||
- run: pacman --noconfirm -S wayland-protocols libdrm libglvnd pkgconf | ||
- run: pacman --noconfirm -S wayland eglexternalplatform | ||
- run: pacman --noconfirm -S meson ninja gcc | ||
- run: meson build | ||
- run: ninja -C build | ||
- run: ninja -C build install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Autotools GCC Build | ||
on: [push, pull_request] | ||
jobs: | ||
Meson-Build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: sudo apt update | ||
- run: sudo apt install -y wayland-protocols libdrm-dev libegl-dev | ||
- run: sudo apt install -y libwayland-dev libwayland-egl-backend-dev eglexternalplatform-dev | ||
- run: sudo apt install -y meson ninja-build gcc | ||
- run: ./autogen.sh | ||
- run: make | ||
- run: sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Meson GCC Build | ||
on: [push, pull_request] | ||
jobs: | ||
Meson-Build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: sudo apt update | ||
- run: sudo apt install -y wayland-protocols libdrm-dev libegl-dev | ||
- run: sudo apt install -y libwayland-dev libwayland-egl-backend-dev eglexternalplatform-dev | ||
- run: sudo apt install -y meson ninja-build gcc | ||
- run: meson build | ||
- run: ninja -C build | ||
- run: sudo ninja -C build install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Meson LLVM Build | ||
on: [push, pull_request] | ||
jobs: | ||
Meson-Build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: sudo apt update | ||
- run: sudo apt install -y wayland-protocols libdrm-dev libegl-dev | ||
- run: sudo apt install -y libwayland-dev libwayland-egl-backend-dev eglexternalplatform-dev | ||
- run: sudo apt install -y meson ninja-build clang | ||
- name: meson build | ||
run: meson build | ||
env: | ||
CC: clang | ||
- run: ninja -C build | ||
- run: sudo ninja -C build install |