Skip to content

Commit

Permalink
chore(ci): unify the matrix format to (mode, target)
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Feb 23, 2024
1 parent 2e87f16 commit 3f0213f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
strategy:
fail-fast: false
matrix:
target:
- x86_64-pc-windows-msvc
mode:
- dev
- release
target:
- x86_64-pc-windows-msvc
include:
- target: x86_64-pc-windows-msvc
run_tests: YES
Expand Down Expand Up @@ -160,13 +160,13 @@ jobs:
strategy:
fail-fast: false
matrix:
mode:
- dev
- release
target:
- x86_64-pc-windows-msvc
- aarch64-pc-windows-msvc # skip-pr
- x86_64-pc-windows-gnu # skip-pr
mode:
- dev
- release
include:
- target: x86_64-pc-windows-msvc
run_tests: YES
Expand Down Expand Up @@ -297,15 +297,15 @@ jobs:
strategy:
fail-fast: false
matrix:
mode:
- dev
- release
target:
- x86_64-pc-windows-msvc
- i686-pc-windows-msvc # skip-pr skip-master
- aarch64-pc-windows-msvc # skip-pr
- x86_64-pc-windows-gnu # skip-pr
- i686-pc-windows-gnu # skip-pr skip-master
mode:
- dev
- release
include:
- target: x86_64-pc-windows-msvc
run_tests: YES
Expand Down Expand Up @@ -899,11 +899,11 @@ jobs:
runs-on: macos-13 # skip-aarch64
strategy:
matrix:
target:
- x86_64-apple-darwin # skip-aarch64
mode:
- dev
- release
target:
- x86_64-apple-darwin # skip-aarch64
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -1012,11 +1012,11 @@ jobs:
runs-on: macos-14 # skip-x86_64
strategy:
matrix:
target:
- aarch64-apple-darwin # skip-x86_64
mode:
- dev
- release
target:
- aarch64-apple-darwin # skip-x86_64
steps:
- uses: actions/checkout@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions ci/actions-templates/macos-builds-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs: # skip-x86_64 skip-aarch64
runs-on: macos-13 # skip-aarch64
strategy:
matrix:
target:
- x86_64-apple-darwin # skip-aarch64
- aarch64-apple-darwin # skip-x86_64
mode:
- dev
- release
target:
- x86_64-apple-darwin # skip-aarch64
- aarch64-apple-darwin # skip-x86_64
steps:
- uses: actions/checkout@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions ci/actions-templates/windows-builds-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs: # skip-master skip-pr skip-stable
strategy:
fail-fast: false
matrix:
mode:
- dev
- release
target:
- x86_64-pc-windows-msvc
- i686-pc-windows-msvc # skip-pr skip-master
- aarch64-pc-windows-msvc # skip-pr
- x86_64-pc-windows-gnu # skip-pr
- i686-pc-windows-gnu # skip-pr skip-master
mode:
- dev
- release
include:
- target: x86_64-pc-windows-msvc
run_tests: YES
Expand Down

0 comments on commit 3f0213f

Please sign in to comment.