diff options
| author | seth <[email protected]> | 2023-12-31 08:03:20 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-31 08:52:04 -0500 |
| commit | 3119d0e8be89bd5fa726d5424ecb181fc2fe0f58 (patch) | |
| tree | 1f2375b39ec9e9e1fd39d073ed48ee63422619ba | |
| parent | dec8d36cbdbb3b9c5c12792ed199892ce2e82069 (diff) | |
actions: pretty up ci
| -rw-r--r-- | .github/workflows/ci.yaml | 41 |
1 files changed, 7 insertions, 34 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5beff00..cc60521 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,50 +9,25 @@ on: jobs: build: strategy: + fail-fast: false matrix: - include: - - os: macos-latest - arch: x86_64 + os: [macos-latest, ubuntu-latest] - - os: ubuntu-latest - arch: x86_64 - - - os: ubuntu-latest - arch: aarch64 - - name: Build (${{ matrix.os }}/${{ matrix.arch }}) + name: Build (${{ matrix.os }}) runs-on: ${{ matrix.os }} - continue-on-error: true steps: - uses: actions/checkout@v4 - - name: Setup QEMU - if: matrix.arch == 'aarch64' - uses: docker/setup-qemu-action@v3 - with: - platforms: arm64 - - name: Install Nix - if: matrix.arch != 'aarch64' - uses: DeterminateSystems/nix-installer-action@v9 - - - name: Install Nix (with aarch64) - if: matrix.arch == 'aarch64' uses: DeterminateSystems/nix-installer-action@v9 - with: - extra-conf: "extra-platforms = aarch64-linux arm-linux" - name: Setup cache uses: DeterminateSystems/magic-nix-cache-action@v2 - name: Run build - if: matrix.arch != 'aarch64' - run: nix build -L - - - name: Run build - if: matrix.arch == 'aarch64' - run: nix build -L .#packages.${{ matrix.arch }}-linux.default + run: | + nix build --print-build-logs check: name: Check flake @@ -64,8 +39,6 @@ jobs: - name: Install Nix uses: DeterminateSystems/nix-installer-action@v9 - - name: Setup cache - uses: DeterminateSystems/magic-nix-cache-action@v2 - - name: Run check - run: nix flake check -L --show-trace + run: | + nix flake check --print-build-logs --show-trace |
