Skip to content

Commit

Permalink
[ci] switch to runs-on self-hosted runners (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang authored Oct 16, 2024
1 parent ad2a6a9 commit 3e56ca0
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ecc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ env:

jobs:
tests:
runs-on: ubuntu-arm64-16core-64ram
runs-on:
- runs-on=${{ github.run_id }}
- runner=32cpu-linux-arm64

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
lint:
name: Lint
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
runs-on:
- runs-on=${{ github.run_id }}
- runner=8cpu-linux-x64
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/primitives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ env:

jobs:
build:
runs-on: ubuntu-arm64-16core-64ram
runs-on:
- runs-on=${{ github.run_id }}
- runner=32cpu-linux-arm64

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/recursion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ env:

jobs:
tests:
runs-on: ubuntu-latest-16core-64ram # must use x86 because solc has no arm64 linux binary...
runs-on:
- runs-on=${{ github.run_id }}
- runner=64cpu-linux-arm64

steps:
- uses: actions/checkout@v4
Expand All @@ -31,10 +33,8 @@ jobs:
with:
cache-on-failure: true
- uses: taiki-e/install-action@nextest
- name: get solc
uses: pontem-network/get-solc@master
with:
version: v0.8.19
- name: Install solc # svm should support arm64 linux
run: (hash svm 2>/dev/null || cargo install --version 0.2.23 svm-rs) && svm install 0.8.19 && solc --version

- name: Run recursion crate tests
working-directory: lib/recursion
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/stark-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on:
- runs-on=${{ github.run_id }}
- runner=16cpu-linux-arm64

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ env:

jobs:
tests:
runs-on: ubuntu-arm64-16core-64ram
runs-on:
- runs-on=${{ github.run_id }}
- runner=64cpu-linux-arm64

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 3e56ca0

Please sign in to comment.