Skip to content

Commit

Permalink
add nix install to mac
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Jun 10, 2024
1 parent f75aae8 commit 8ecb206
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run_tests_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ jobs:
${{ github.workspace }}/**
!${{ github.workspace }}/
!${{ github.workspace }}/**/.git/**
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
# nix is taken from the cloud-init template, no need to install it.
- name: Build and run tests
run: |
nix build -L .?submodules=1#checks.aarch64-darwin.$check_name
nix build -L .?submodules=1#checks.aarch64-darwin.default
results_dir="./results"
mkdir -p "$results_dir"
cp -r ./result/* "$results_dir/all-checks"
Expand Down

0 comments on commit 8ecb206

Please sign in to comment.