Skip to content

Commit

Permalink
CI: separate tools job from the build job
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultra-Code committed Dec 5, 2024
1 parent 9a30f84 commit 4633eeb
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,28 @@ jobs:
- name: Run `build`
run: zig build ${{ matrix.build-options }} -Doptimize=${{ matrix.optimize }} --summary all

# Test allyourcodebase/lmdb#3
# CI test for allyourcodebase/lmdb#3
tools:
strategy:
fail-fast: false
matrix:
zig-version: ["master", "0.13.0"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: false

- name: Set up Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig-version }}
use-cache: false

- name: Run `build tools on macos`
run: zig build tools -Dtarget=x86_64-macos-none --summary all

Expand Down

0 comments on commit 4633eeb

Please sign in to comment.