From c03dec4b3d52739dd5e7e4d2abc580fa160f202c Mon Sep 17 00:00:00 2001 From: Alexis <124469871+apentori@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:16:02 +0200 Subject: [PATCH] ci: build on self-hosted runner (#799) Signed-off-by: Alexis Pentori --- .github/workflows/build-test.yml | 6 +++--- .github/workflows/codecov.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 37d27a35..5d00480c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -12,7 +12,7 @@ name: PR check jobs: check: name: Check - runs-on: ubuntu-latest + runs-on: ['self-hosted'] strategy: fail-fast: true matrix: @@ -48,7 +48,7 @@ jobs: fail-fast: false # all OSes should be tested even if one fails (default: true) matrix: feature: [ libp2p, "libp2p,mixnet" ] - os: [ ubuntu-latest, macos-latest ] # drop windows for now as risc0 does not support it + os: [ self-hosted, macos-latest ] # drop windows for now as risc0 does not support it runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -120,7 +120,7 @@ jobs: lints: name: Rust lints - runs-on: ubuntu-latest + runs-on: self-hosted strategy: matrix: feature: [ libp2p, "libp2p,mixnet" ] diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index b7d3b262..1008bd0e 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -11,7 +11,7 @@ jobs: CARGO_INCREMENTAL: 0 RUSTFLAGS: "-C instrument-coverage" LLVM_PROFILE_FILE: "nomos-node-%p-%m.profraw" - runs-on: ubuntu-latest + runs-on: ['self-hosted','ubuntu-22.04'] steps: - uses: actions/checkout@v3 with: