chore: using another arm for arm64 configs #210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test CI | |
on: [push, pull_request] | |
jobs: | |
test-flake: | |
runs-on: ubuntu-latest | |
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: Check up flake configuration | |
run: nix flake check --all-systems --show-trace | |
build-x86_64: | |
strategy: | |
fail-fast: false | |
matrix: | |
instance: [ 1, 2, 3 ] | |
runs-on: ubuntu-latest | |
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 | |
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 |