Skip to content

flake: add system aarch64-darwin #2

flake: add system aarch64-darwin

flake: add system aarch64-darwin #2

Workflow file for this run

name: check
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
check:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-13 ]
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: System Info
run: |
uname -a
nix --version
- name: check
run: nix flake check -L --show-trace
- name: kairos-node aarch64-darwin
if: matrix.os == 'macos-13'
run: nix build -L --no-link --show-trace .#packages.aarch64-darwin.kairos-node
- name: kairos-node x86_64-linux
if: matrix.os == 'ubuntu-latest'
run: nix build -L --no-link --show-trace .#packages.x86_64-linux.kairos-node
- name: kairos-prover aarch64-darwin
if: matrix.os == 'macos-13'
run: nix build -L --no-link --show-trace .#packages.aarch64-darwin.kairos-prover
- name: kairos-prover x86_64-linux
if: matrix.os == 'macos-13'
run: nix build -L --no-link --show-trace .#packages.x86_64-linux.kairos-prover