attempt supporting both gitea/github dependency install
All checks were successful
Generic zig build / build (push) Successful in 17s
All checks were successful
Generic zig build / build (push) Successful in 17s
This commit is contained in:
parent
8fa6863fc5
commit
4318c14fe3
6
.github/workflows/zig-build.yaml
vendored
6
.github/workflows/zig-build.yaml
vendored
|
@ -14,8 +14,12 @@ jobs:
|
|||
with:
|
||||
version: 0.12.0
|
||||
- uses: elerch/zig-action-cache@v1.1.6
|
||||
- name: Install dependencies
|
||||
- name: Install dependencies (gitea)
|
||||
if: env.GITEA_ACTIONS == 'true'
|
||||
run: apt-get update && apt-get install --no-install-recommends -y libnotmuch-dev
|
||||
- name: Install dependencies (github)
|
||||
if: env.GITEA_ACTIONS != 'true'
|
||||
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y libnotmuch-dev
|
||||
- name: Build project
|
||||
run: zig build --summary all
|
||||
- name: Run tests
|
||||
|
|
Loading…
Reference in New Issue
Block a user