diff options
| author | seth <[email protected]> | 2023-10-07 12:10:10 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-10-07 12:55:41 -0400 |
| commit | 9ac52e97dda7ccfa1ccbd219ba75e1c4b2dc81ec (patch) | |
| tree | 0ce51cc9b592633faaadd3d4590b33359e24fdf7 /.github/workflows/ci.yaml | |
| parent | 9d0051e6b4170851ebcc09e7ff44097818c8e1dc (diff) | |
actions: fix multi platform building
Diffstat (limited to '.github/workflows/ci.yaml')
| -rw-r--r-- | .github/workflows/ci.yaml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5391c66..06a704c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,12 +10,13 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [macos-latest] include: - os: ubuntu-latest - arch: - - "aarch64" - - "x86_64" + arch: "x86_64" + + - os: ubuntu-latest + arch: "aarch64" runs-on: ${{ matrix.os }} continue-on-error: true @@ -41,8 +42,13 @@ jobs: uses: DeterminateSystems/magic-nix-cache-action@v2 - name: run build + if: matrix.arch != 'aarch64' run: nix build --accept-flake-config -Lv + - name: run build (aarch64) + if: matrix.arch == 'aarch64' + run: nix build --accept-flake-config -Lv .#packages.aarch64-linux.default + check: runs-on: ubuntu-latest |
