From e50271acbf2f917c9498e21a0d6830a9e7211814 Mon Sep 17 00:00:00 2001 From: Andrei Malashkin Date: Thu, 6 Jun 2024 23:35:57 +0200 Subject: [PATCH] add nix install to mac --- .github/workflows/run_tests_mac.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests_mac.yml b/.github/workflows/run_tests_mac.yml index 0b970b73f..a9dedd116 100644 --- a/.github/workflows/run_tests_mac.yml +++ b/.github/workflows/run_tests_mac.yml @@ -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"