Skip to content

Commit

Permalink
CI: perform format check first, and add a release build step.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehaas authored and Vexu committed Sep 11, 2023
1 parent b61c37f commit 8a56772
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,19 @@ jobs:
with:
version: master

- name: Fmt
run: zig fmt . --check
if: matrix.os == 'ubuntu-latest'

- name: Build
run: zig build

- name: Build 32-bit
run: zig build -Dtarget=arm-linux
if: matrix.os == 'ubuntu-latest'

- name: Fmt
run: zig fmt . --check
if: matrix.os == 'ubuntu-latest'
- name: Build release
run: zig build -Doptimize=ReleaseSafe

- name: Run Tests
run: zig build test

0 comments on commit 8a56772

Please sign in to comment.