Merge pull request #122 from nix-community/ci
also enable arm64 in github ci
This commit is contained in:
commit
fcbf0b7c6c
1 changed files with 5 additions and 2 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -13,13 +13,16 @@ jobs:
|
|||
tag:
|
||||
- nixos-23.05
|
||||
- nixos-unstable
|
||||
runs-on: ubuntu-latest
|
||||
os:
|
||||
- nscloud-ubuntu-22.04-arm64-4x16
|
||||
- ubuntu-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v22
|
||||
with:
|
||||
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz
|
||||
- name: Build image
|
||||
run: ./build-images.sh "${{matrix.tag}}"
|
||||
run: ./build-images.sh "${{ matrix.tag }}" "$(nix eval --raw --impure --expr builtins.currentSystem)"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue