aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-11-19 21:27:45 +0100
committerIsaac Freund <ifreund@ifreund.xyz>2020-11-21 11:53:37 +0100
commit16e4b5267f507d8fe1c557d903a935d5fdd3bce9 (patch)
tree0d51e7d5698a4bcf7bb19eec928662b0bf6df467 /.github
parent7d0014cd389d550040695dfff6dfc5196c482feb (diff)
downloadriver-16e4b5267f507d8fe1c557d903a935d5fdd3bce9.tar.gz
river-16e4b5267f507d8fe1c557d903a935d5fdd3bce9.tar.xz
ci: clone submodules, cleanup
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci_build.yml28
1 files changed, 18 insertions, 10 deletions
diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index beec6a3..7be577d 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -18,16 +18,17 @@ jobs:
container: voidlinux/voidlinux:latest
steps:
- - name: Install Dependencies
+ - 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
+ libxkbcommon-devel pixman-devel pkgconf scdoc git
- - name: Checkout Code
- uses: actions/checkout@master
+ - name: checkout
+ uses: actions/checkout@v2
+ with:
+ submodules: true
- name: build
run: |
@@ -49,10 +50,12 @@ jobs:
xbps-install -uy xbps
xbps-install -uy
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
- uses: actions/checkout@master
+ uses: actions/checkout@v2
+ with:
+ submodules: true
- name: build
run: |
@@ -73,11 +76,16 @@ jobs:
xbps-install -S
xbps-install -uy xbps
xbps-install -uy
- xbps-install -uy zig
+ xbps-install -uy zig git
- name: checkout
- uses: actions/checkout@master
+ uses: actions/checkout@v2
+ with:
+ submodules: true
- name: fmt
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/