From 6290ec8ae63b7ceebb95b6caf6de1ee8d1371fcc Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar <3998+srid@users.noreply.github.com> Date: Fri, 23 Feb 2024 10:40:01 -0500 Subject: [PATCH] ci: fully self-host --- .github/workflows/ci.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b5fbea1..1b9c515 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,18 +1,21 @@ name: "CI" + on: push: branches: - master pull_request: + jobs: - build: + nix: + runs-on: self-hosted strategy: matrix: - os: [self-hosted, macos-14] - runs-on: self-hosted + system: [aarch64-linux, aarch64-darwin] steps: - uses: actions/checkout@v4 - run: | # My self hosted runner is ARM nix run nixpkgs#sd 'nixpkgs.hostPlatform = "x86_64-linux"' 'nixpkgs.hostPlatform = "aarch64-linux"' ./examples/*/flake.nix - nixci + + nixci --build-systems "github:nix-systems/${{ matrix.system }}"