Skip to content

Commit

Permalink
chore: using another arm for arm64 configs
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Nov 25, 2024
1 parent 7577ac8 commit 9f62c06
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
- name: Check up flake configuration
run: nix flake check --all-systems --show-trace

build-instances:
build-x86_64:
strategy:
fail-fast: false
matrix:
instance: [ 1, 2, 3, 4 ]
instance: [ 1, 2, 3 ]

runs-on: ubuntu-latest

Expand All @@ -38,3 +39,24 @@ jobs:

- name: Build NixOS configuration
run: nix build .#nixosConfigurations.Kolyma-${{ matrix.instance }}.config.system.build.toplevel --show-trace

build-arm64:
strategy:
fail-fast: false
matrix:
instance: [ 4 ]

runs-on: ubuntu-latest-arm

steps:
- name: Check out the repository
uses: actions/checkout@v4

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main

- name: Cache Nix store
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Build NixOS configuration
run: nix build .#nixosConfigurations.Kolyma-${{ matrix.instance }}.config.system.build.toplevel --show-trace

0 comments on commit 9f62c06

Please sign in to comment.