diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-07-17 21:57:51 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-07-18 01:28:41 +0200 |
| commit | 3bc799811ff6ae4e034f48c55f1b3f8c4e2fd3f4 (patch) | |
| tree | d796c27ba5c5ad912b7083c87c2260572f63a43d /.github/workflows/ci_build.yml | |
| parent | 627ab7ec8adb653f99cb91c6142b371eb572a55e (diff) | |
| download | river-3bc799811ff6ae4e034f48c55f1b3f8c4e2fd3f4.tar.gz river-3bc799811ff6ae4e034f48c55f1b3f8c4e2fd3f4.tar.xz | |
ci: use void linux
arch is taking too long to get wlroots 0.11.0 and I already updated it
for void.
Diffstat (limited to '.github/workflows/ci_build.yml')
| -rw-r--r-- | .github/workflows/ci_build.yml | 57 |
1 files changed, 51 insertions, 6 deletions
diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml index 83759fd..db5cfb8 100644 --- a/.github/workflows/ci_build.yml +++ b/.github/workflows/ci_build.yml @@ -3,18 +3,22 @@ on: [push, pull_request] -name: Archliunx +name: voidlinux jobs: - build: - name: Archliunx + default_build: + name: default build runs-on: ubuntu-latest - container: archlinux:latest + container: voidlinux/voidlinux:latest steps: - name: Install Dependencies run: | - pacman -Syu --noconfirm zig wayland-protocols wlroots pkgconf + xbps-install -S + xbps-install -uy xbps + xbps-install -uy + xbps-install -uy zig wayland-devel wayland-protocols wlroots-devel \ + libxkbcommon-devel pixman-devel pkgconf scdoc - name: Checkout Code uses: actions/checkout@master @@ -27,6 +31,47 @@ jobs: run: | zig build test - - name: zig fmt + xwayland_build: + name: xwayland build + runs-on: ubuntu-latest + container: voidlinux/voidlinux:latest + + steps: + - name: install deps + run: | + xbps-install -S + xbps-install -uy xbps + xbps-install -uy + xbps-install -uy zig wayland-devel wayland-protocols wlroots-devel \ + libxkbcommon-devel pixman-devel pkgconf scdoc + + - name: checkout + uses: actions/checkout@master + + - name: build + run: | + zig build -Dxwayland=true + + - name: test + run: | + zig build -Dxwayland=true test + + zig_fmt: + name: zig fmt + runs-on: ubuntu-latest + container: voidlinux/voidlinux:latest + + steps: + - name: install deps + run: | + xbps-install -S + xbps-install -uy xbps + xbps-install -uy + xbps-install -uy zig + + - name: checkout + uses: actions/checkout@master + + - name: fmt run: | find . -path ./zig-cache -prune -o -name "*.zig" -exec zig fmt --check {} ";" |
