Skip to content

Commit

Permalink
ops: use release flag
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Jun 30, 2024
1 parent f59523d commit 169e75b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

- name: Build
run: |
zig build -Dtarget=${{ matrix.target }} -Doptimize=ReleaseSafe
zig build -Dtarget=${{ matrix.target }} --release=safe
mv zig-out/bin/xtxf xtxf
tar -cvf xtxf-${{ matrix.target}}.tar xtxf
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

- name: Build
run: |
zig build -Dtarget=${{ matrix.target }} -Doptimize=ReleaseSafe
zig build -Dtarget=${{ matrix.target }} --release=safe
mv zig-out/bin/xtxf xtxf
tar -cvf xtxf-${{ matrix.target }}.tar xtxf
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu, macos]
mode: [Fast, Safe, Small]
mode: [fast, safe, small]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -27,7 +27,7 @@ jobs:
run: zig build --summary all

- name: Test
run: zig build test -Doptimize=Release${{ matrix.mode }} --summary all
run: zig build test --release=${{ matrix.mode }} --summary all

coverage:
name: Test coverage
Expand Down

0 comments on commit 169e75b

Please sign in to comment.