aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci_build_xwayland.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci_build_xwayland.yml')
-rw-r--r--.github/workflows/ci_build_xwayland.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/ci_build_xwayland.yml b/.github/workflows/ci_build_xwayland.yml
new file mode 100644
index 0000000..bdcdb51
--- /dev/null
+++ b/.github/workflows/ci_build_xwayland.yml
@@ -0,0 +1,38 @@
+# Build river and run the test suite with xwayland enabled every time a commit
+# is pushed to master or a pull request is opened against master.
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+name: Archliunx + Xwayland
+
+jobs:
+ build:
+ name: Archliunx + Xwayland
+ runs-on: ubuntu-latest
+ container: archlinux:latest
+
+ steps:
+ - name: Install Dependencies
+ run: |
+ pacman -Syu --noconfirm zig wayland-protocols wlroots pkgconf
+
+ - name: Checkout Code
+ uses: actions/checkout@master
+
+ - name: build
+ run: |
+ zig build -Dxwayland=true
+
+ - name: test
+ run: |
+ zig build -Dxwayland=true test
+
+ - name: zig fmt
+ run: |
+ zig fmt --check src/**/*.zig