diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-20 00:18:01 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-20 00:20:52 +0200 |
| commit | 1fe00bc38f024ada5ebf792acf5d3623acab134e (patch) | |
| tree | ebb400bc0fdf88b5544ccd0e4ec8f57a203af234 /.github/workflows/ci_build.yml | |
| parent | 425faff04e81abc14dc9a7ab61399b07e43b7227 (diff) | |
| download | river-1fe00bc38f024ada5ebf792acf5d3623acab134e.tar.gz river-1fe00bc38f024ada5ebf792acf5d3623acab134e.tar.xz | |
Add Archlinux CI
Diffstat (limited to '.github/workflows/ci_build.yml')
| -rw-r--r-- | .github/workflows/ci_build.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml new file mode 100644 index 0000000..8da122b --- /dev/null +++ b/.github/workflows/ci_build.yml @@ -0,0 +1,39 @@ +# Build river and run the test suite every time a commit is pushed to master or +# a pull request is opened against master. +# +# TODO: figure out why this didn't work on alpine + +on: + push: + branches: + - master + pull_request: + branches: + - master + +name: Archliunx CI + +jobs: + build: + name: Archliunx CI + runs-on: ubuntu-latest + #container: alpine:edge + container: archlinux:latest + + steps: + - name: Install Dependencies + run: | + #apk add --no-cache wlroots-dev + #apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing zig + pacman -Syu --noconfirm zig wayland-protocols wlroots pkgconf + + - name: Checkout Code + uses: actions/checkout@master + + - name: Build + run: | + zig build + + - name: Test + run: | + zig build test |
