ci: build on self-hosted runner (#799)

Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
Alexis 2024-10-07 14:16:02 +02:00 committed by GitHub
parent 98e9cde66d
commit c03dec4b3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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" ]

View File

@ -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: