diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a293bee..fa46e41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |