re-add setup env
Some checks failed
Build / nix-build (ubuntu-x86_64, durincore) (push) Waiting to run
Build / Nix Build Successful (push) Blocked by required conditions
Build / nix-build (ubuntu-aarch64, varda) (push) Failing after 3s

This commit is contained in:
Joseph Hanson 2024-05-20 21:46:57 -05:00
parent 25ad114eea
commit 31c337b7d6

View file

@ -10,15 +10,25 @@ jobs:
matrix: matrix:
include: include:
- system: varda - system: varda
os: aarch64-native os: ubuntu-aarch64
- system: durincore - system: durincore
os: x86_64 os: ubuntu-x86_64
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
# - name: Create nix mount point
# if: contains(matrix.os, 'ubuntu-x86_64')
# run: sudo mkdir /nix
- name: Checkout repository - name: Checkout repository
uses: https://github.com/actions/checkout@v4 uses: https://github.com/actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install Nix
uses: https://github.com/cachix/install-nix-action@v26
with:
extra_nix_config: |
experimental-features = nix-command flakes
nix_path: nixpkgs=channel:nixos-unstable
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
- uses: https://github.com/cachix/cachix-action@v14 - uses: https://github.com/cachix/cachix-action@v14
if: ${{ !github.event.pull_request.head.repo.fork }} if: ${{ !github.event.pull_request.head.repo.fork }}
with: with: