From cdc64948d93b42444c32b5d2fb538204ad42f48f Mon Sep 17 00:00:00 2001 From: Amneesh Singh Date: Sun, 30 Jul 2023 19:05:32 +0530 Subject: [PATCH] ci: add runner Signed-off-by: Amneesh Singh --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f25ae8..fa611ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,11 @@ on: [ push, pull_request, workflow_dispatch ] jobs: build: name: Build - runs-on: ubuntu-latest + strategy: + matrix: + runners: [ ubuntu-latest, self-hosted ] + + runs-on: ${{ matrix.runners }} steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v20 @@ -31,4 +35,4 @@ jobs: run: nix build .#checks.doc -L - name: build - run: nix build .#tricc -L \ No newline at end of file + run: nix build .#tricc -L