2020-05-24 10:22:42 -07:00
|
|
|
# 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.
|
|
|
|
|
2020-07-15 09:39:21 -07:00
|
|
|
on: [push, pull_request]
|
2020-05-24 10:22:42 -07:00
|
|
|
|
|
|
|
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: |
|
2020-06-01 07:20:48 -07:00
|
|
|
find . -path ./zig-cache -prune -o -name "*.zig" -exec zig fmt --check {} ";"
|