Skip to content

Commit

Permalink
update runner to self hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferret-san committed Nov 20, 2024
1 parent 41921f3 commit 2c90aa4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/arbitrator-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@ on:

env:
RUST_BACKTRACE: 1
RUSTFLAGS: -Dwarnings # TODO: re-enable after wasmer upgrade
# RUSTFLAGS: -Dwarnings # TODO: re-enable after wasmer upgrade
WABT_VERSION: 1.0.32

jobs:
arbitrator:
name: Run Arbitrator tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
runs-on: gh-shr-optimism
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -146,9 +143,13 @@ jobs:
if: steps.cache-cbrotli.outputs.cache-hit != 'true'
uses: mymindstorm/setup-emsdk@v12
with:
# Make sure to set a version number!
version: 3.1.6
actions-cache-folder: "emsdk-cache-${{ github.run_id }}"
no-cache: false
# This is the name of the cache folder.
# The cache folder will be placed in the build directory,
# so make sure it doesn't conflict with anything!
actions-cache-folder: "emsdk-cache"
no-cache: true

- name: Build cbrotli-wasm
if: steps.cache-cbrotli.outputs.cache-hit != 'true'
Expand All @@ -158,7 +159,7 @@ jobs:
run: echo "$HOME/wabt-prefix/bin" >> "$GITHUB_PATH"

- name: Make arbitrator libraries
run: RUSTFLAGS="-A warnings" make -j wasm-ci-build
run: make -j wasm-ci-build

- name: Clippy check
run: cargo clippy --all --manifest-path arbitrator/Cargo.toml -- -D warnings
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
test:
name: Go Tests
runs-on: ubuntu-latest
runs-on: gh-shr-optimism

# Creates a redis container for redis tests
services:
Expand Down

0 comments on commit 2c90aa4

Please sign in to comment.