re-add setup env
This commit is contained in:
parent
25ad114eea
commit
31c337b7d6
1 changed files with 13 additions and 3 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
@ -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:
|
||||||
|
|
Reference in a new issue