ci: clone submodules, cleanup
This commit is contained in:
parent
7d0014cd38
commit
16e4b5267f
28
.github/workflows/ci_build.yml
vendored
28
.github/workflows/ci_build.yml
vendored
@ -18,16 +18,17 @@ jobs:
|
|||||||
container: voidlinux/voidlinux:latest
|
container: voidlinux/voidlinux:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Dependencies
|
- name: install deps
|
||||||
run: |
|
run: |
|
||||||
xbps-install -S
|
xbps-install -S
|
||||||
xbps-install -uy xbps
|
xbps-install -uy xbps
|
||||||
xbps-install -uy
|
|
||||||
xbps-install -uy zig wayland-devel wayland-protocols wlroots-devel \
|
xbps-install -uy zig wayland-devel wayland-protocols wlroots-devel \
|
||||||
libxkbcommon-devel pixman-devel pkgconf scdoc
|
libxkbcommon-devel pixman-devel pkgconf scdoc git
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
@ -49,10 +50,12 @@ jobs:
|
|||||||
xbps-install -uy xbps
|
xbps-install -uy xbps
|
||||||
xbps-install -uy
|
xbps-install -uy
|
||||||
xbps-install -uy zig wayland-devel wayland-protocols wlroots-devel \
|
xbps-install -uy zig wayland-devel wayland-protocols wlroots-devel \
|
||||||
libxkbcommon-devel pixman-devel pkgconf scdoc
|
libxkbcommon-devel pixman-devel pkgconf scdoc git
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
@ -73,11 +76,16 @@ jobs:
|
|||||||
xbps-install -S
|
xbps-install -S
|
||||||
xbps-install -uy xbps
|
xbps-install -uy xbps
|
||||||
xbps-install -uy
|
xbps-install -uy
|
||||||
xbps-install -uy zig
|
xbps-install -uy zig git
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: fmt
|
- name: fmt
|
||||||
run: |
|
run: |
|
||||||
find . -path ./zig-cache -prune -o -name "*.zig" -exec zig fmt --check {} ";"
|
zig fmt --check river/
|
||||||
|
zig fmt --check riverctl/
|
||||||
|
zig fmt --check rivertile/
|
||||||
|
zig fmt --check example/
|
||||||
|
Loading…
Reference in New Issue
Block a user