Skip to content

Commit

Permalink
try nested matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Feb 29, 2024
1 parent 32d648c commit 8484f60
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/ci.yml
Expand Up @@ -107,23 +107,20 @@ jobs:
strategy:
matrix:
go-version: ["~1.22.0", "~1.21.3"]
os: [ubuntu-latest, macos-latest, windows-latest, actuated-arm64-4cpu-4gb]
arch: ["386", amd64, arm64]
exclude:
# Not a supported Go OS/architecture.
platform:
- os: ubuntu-latest
arch: arm64
- os: macos-latest
arch: arm64
- os: macos-latest
arch: "386"
- os: ubuntu-latest
arch: amd64
- os: macos-latest
arch: amd64
- os: windows-latest
arch: arm64
- os: actuated-arm64-4cpu-4gb
arch: "386"
- os: actuated-arm64-4cpu-4gb
- os: windows-latest
arch: amd64
runs-on: ${{ matrix.os }}
- os: actuated-arm64-4cpu-4gb
arch: arm64
runs-on: ${{ matrix.platform.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -135,7 +132,7 @@ jobs:
cache-dependency-path: "**/go.sum"
- name: Run tests
env:
GOARCH: ${{ matrix.arch }}
GOARCH: ${{ matrix.platform.arch }}
run: make test-short

test-compatibility:
Expand Down

0 comments on commit 8484f60

Please sign in to comment.