ci: use void linux
arch is taking too long to get wlroots 0.11.0 and I already updated it for void.
This commit is contained in:
parent
627ab7ec8a
commit
3bc799811f
57
.github/workflows/ci_build.yml
vendored
57
.github/workflows/ci_build.yml
vendored
@ -3,18 +3,22 @@
|
|||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
name: Archliunx
|
name: voidlinux
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
default_build:
|
||||||
name: Archliunx
|
name: default build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: archlinux:latest
|
container: voidlinux/voidlinux:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
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
|
- name: Checkout Code
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
@ -27,6 +31,47 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
zig build test
|
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: |
|
run: |
|
||||||
find . -path ./zig-cache -prune -o -name "*.zig" -exec zig fmt --check {} ";"
|
find . -path ./zig-cache -prune -o -name "*.zig" -exec zig fmt --check {} ";"
|
||||||
|
32
.github/workflows/ci_build_xwayland.yml
vendored
32
.github/workflows/ci_build_xwayland.yml
vendored
@ -1,32 +0,0 @@
|
|||||||
# 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, pull_request]
|
|
||||||
|
|
||||||
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: |
|
|
||||||
find . -path ./zig-cache -prune -o -name "*.zig" -exec zig fmt --check {} ";"
|
|
Loading…
Reference in New Issue
Block a user