This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
fix: use self hosted runners #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
permissions: read-all | ||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- runner: [self-hosted, X64] | ||
arch: amd64 | ||
- runner: [self-hosted, arm-runner] | ||
arch: arm64 | ||
runs-on: ${{ matrix.runner }} | ||
name: nix-build | ||
steps: | ||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | ||
with: | ||
fetch-depth: 0 | ||
- uses: DeterminateSystems/nix-installer-action@65d7c888b2778e8cf30a07a88422ccb23499bfb8 | ||
- uses: DeterminateSystems/magic-nix-cache-action@749fc5bbc9fa49d60c2b93f6c4bc867b82e1d295 | ||
- run: [ "nix flake check -L --show-trace", "nix run nixpkgs#just -- build-all" ] | ||