.github/workflows: run arm jobs on selfhosted runner
This commit is contained in:
parent
1d4a0a82d3
commit
81d5b8e2a6
1 changed files with 1 additions and 5 deletions
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
|
@ -62,7 +62,7 @@ jobs:
|
||||||
nix run .#attic -- push nrab-attic:public result
|
nix run .#attic -- push nrab-attic:public result
|
||||||
|
|
||||||
build-aarch64-linux:
|
build-aarch64-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: [Linux, ARM64, nix]
|
||||||
needs: [matrix]
|
needs: [matrix]
|
||||||
if: ${{ needs.matrix.outputs.aarch64-linux != '[]' && needs.matrix.outputs.aarch64-linux != '' }}
|
if: ${{ needs.matrix.outputs.aarch64-linux != '[]' && needs.matrix.outputs.aarch64-linux != '' }}
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -71,10 +71,6 @@ jobs:
|
||||||
output: ${{ fromJson(needs.matrix.outputs.aarch64-linux )}}
|
output: ${{ fromJson(needs.matrix.outputs.aarch64-linux )}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: docker/setup-qemu-action@v3
|
|
||||||
- uses: ./.github/actions/install-nix
|
|
||||||
with:
|
|
||||||
extra-conf: extra-platforms = aarch64-linux
|
|
||||||
- name: Build output
|
- name: Build output
|
||||||
run: nix build .#${{ matrix.output }} -L
|
run: nix build .#${{ matrix.output }} -L
|
||||||
- name: Push output
|
- name: Push output
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue