Native nix
This commit is contained in:
parent
2767a9178e
commit
7be726e744
1 changed files with 5 additions and 5 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
matrix:
|
||||
include:
|
||||
- system: varda
|
||||
os: ubuntu-aarch64
|
||||
os: native-aarch64
|
||||
- system: durincore
|
||||
os: ubuntu-x86_64
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
@ -18,13 +18,15 @@ jobs:
|
|||
image: docker.io/library/ubuntu:latest
|
||||
steps:
|
||||
- name: Install sudo and node
|
||||
if: contains(matrix.os, 'ubuntu')
|
||||
# For compatibility with actions and debian
|
||||
run: apt update && apt install -y nodejs npm sudo udev curl lvm2
|
||||
- name: Create nix mount point
|
||||
if: contains(matrix.os, 'ubuntu')
|
||||
run: sudo mkdir /nix
|
||||
- name: Maximize build space
|
||||
uses: https://github.com/easimon/maximize-build-space@v10
|
||||
if: contains(matrix.os, 'ubuntu')
|
||||
uses: https://github.com/easimon/maximize-build-space@v10
|
||||
with:
|
||||
root-reserve-mb: 512
|
||||
swap-size-mb: 1024
|
||||
|
@ -38,10 +40,8 @@ jobs:
|
|||
uses: https://github.com/actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# For compatibility with actions and debian
|
||||
# - name: Install sudo
|
||||
# run: apt update && apt install -y sudo
|
||||
- name: Install Nix
|
||||
if: contains(matrix.os, 'ubuntu')
|
||||
uses: https://github.com/cachix/install-nix-action@v26
|
||||
with:
|
||||
extra_nix_config: |
|
||||
|
|
Reference in a new issue