attempt supporting both gitea/github dependency install
All checks were successful
Generic zig build / build (push) Successful in 17s

This commit is contained in:
Emil Lerch 2024-07-16 11:02:15 -07:00
parent 8fa6863fc5
commit 4318c14fe3
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -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