Skip to content

Commit

Permalink
fix(lto): lto require llvm backend which I enable only in release build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultra-Code committed Sep 30, 2024
1 parent bf64584 commit d05a03f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
matrix:
zig-version: ["master", "0.13.0"]
os: [ubuntu-latest, macos-latest, windows-latest]
optimize: [ReleaseSafe, ReleaseFast]
build-options: ["-Dlto"]

runs-on: ${{ matrix.os }}
Expand All @@ -33,7 +34,7 @@ jobs:
use-cache: false

- name: Run `build`
run: zig build ${{ matrix.build-options }} --summary all
run: zig build ${{ matrix.build-options }} -Doptimize=${{ matrix.optimize }} --summary all

test:
strategy:
Expand Down

0 comments on commit d05a03f

Please sign in to comment.