This commit is contained in:
parent
8a03ce4b79
commit
124264534b
1 changed files with 5 additions and 9 deletions
|
@ -9,17 +9,13 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Check out repository code
|
||||||
- uses: elerch/setup-zig@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
- name: Setup Zig
|
||||||
version: 0.12.0
|
uses: https://github.com/mlugg/setup-zig@v2.0.5
|
||||||
- uses: elerch/zig-action-cache@v1.1.6
|
|
||||||
- name: Install dependencies (gitea)
|
- name: Install dependencies (gitea)
|
||||||
if: env.GITEA_ACTIONS == 'true'
|
if: env.GITEA_ACTIONS == 'true'
|
||||||
run: apt-get update && apt-get install --no-install-recommends -y libnotmuch-dev
|
run: apt-get update && apt-get install --no-install-recommends -y libnotmuch-dev libgmime-3.0-dev libglib2.0-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
|
- name: Build project
|
||||||
run: zig build --summary all
|
run: zig build --summary all
|
||||||
- name: Run tests
|
- name: Run tests
|
Loading…
Add table
Reference in a new issue