diff options
| author | Seth Flynn <[email protected]> | 2025-03-08 12:49:26 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-03-23 19:31:27 -0400 |
| commit | a81bd7d48aba3c24716b11145bab7723fe3fa207 (patch) | |
| tree | 3f110fdc318c95b120e82338406dd40bec4c3995 | |
| parent | d9b0d26fbcf6075851da8c8f2311426ff0b40836 (diff) | |
ci: run job for each cross target
| -rw-r--r-- | .github/workflows/ci.yaml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bdc7da5..b75aed6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,13 +22,23 @@ on: jobs: build: - name: Build (${{ matrix.system }}) + name: Build (${{ matrix.system }}/${{ matrix.target }}) strategy: + fail-fast: false matrix: include: - os: ubuntu-latest system: x86_64-linux + target: x86_64-unknown-linux-gnu + + - os: ubuntu-latest + system: x86_64-linux + target: aarch64-unknown-linux-gnu + + - os: ubuntu-latest + system: x86_64-linux + target: riscv64-unknown-linux-gnu runs-on: ${{ matrix.os }} @@ -42,9 +52,14 @@ jobs: uses: cachix/install-nix-action@v30 - name: Run build + env: + BASE_ATTRIBUTE: "${{ matrix.target}}-lwjgl" run: | - nix flake check \ + nix build \ --fallback \ --keep-going \ --print-build-logs \ - --show-trace + --show-trace \ + ".#\"$BASE_ATTRIBUTE-3.3.3\"" \ + ".#\"$BASE_ATTRIBUTE-3.3.4\"" \ + ".#\"$BASE_ATTRIBUTE-3.3.6\"" |
