Skip to content

Commit

Permalink
ci: fully self-host
Browse files Browse the repository at this point in the history
  • Loading branch information
srid authored Feb 23, 2024
1 parent 519febc commit 6290ec8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -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 }}"

0 comments on commit 6290ec8

Please sign in to comment.