diff options
| author | 2022-11-15 11:17:21 +0100 | |
|---|---|---|
| committer | 2022-11-15 11:17:21 +0100 | |
| commit | 859de57556dc5b97d6d41fa526beef0c850cf6c8 (patch) | |
| tree | 592231593702f813aad571658a25f0ab94371978 /.github/workflows | |
| parent | Bump goto-bus-stop/setup-zig from 1.3.0 to 2.0.1 (diff) | |
| download | zig-clap-859de57556dc5b97d6d41fa526beef0c850cf6c8.tar.gz zig-clap-859de57556dc5b97d6d41fa526beef0c850cf6c8.tar.xz zig-clap-859de57556dc5b97d6d41fa526beef0c850cf6c8.zip | |
Don't iterate all configs in build script
Instead, cicd will now have a job for every configuration
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/main.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 16b04c1..eb6d82d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml | |||
| @@ -10,6 +10,9 @@ jobs: | |||
| 10 | strategy: | 10 | strategy: |
| 11 | matrix: | 11 | matrix: |
| 12 | os: [ubuntu-latest, windows-latest] | 12 | os: [ubuntu-latest, windows-latest] |
| 13 | step: [examples, test] | ||
| 14 | compiler: [stage1=true, stage1=false] | ||
| 15 | release: [release-safe=false, release-safe=true, release-fast=true, release-small=true] | ||
| 13 | runs-on: ${{matrix.os}} | 16 | runs-on: ${{matrix.os}} |
| 14 | steps: | 17 | steps: |
| 15 | - uses: actions/checkout@v3 | 18 | - uses: actions/checkout@v3 |
| @@ -18,7 +21,7 @@ jobs: | |||
| 18 | - uses: goto-bus-stop/setup-zig@v2.0.1 | 21 | - uses: goto-bus-stop/setup-zig@v2.0.1 |
| 19 | with: | 22 | with: |
| 20 | version: master | 23 | version: master |
| 21 | - run: zig build | 24 | - run: zig build ${{ matrix.step }} -D${{ matrix.compiler }} -D${{ matrix.release }} |
| 22 | lint: | 25 | lint: |
| 23 | runs-on: ubuntu-latest | 26 | runs-on: ubuntu-latest |
| 24 | steps: | 27 | steps: |