Skip to content

Commit

Permalink
Move explorer-client and rust codecov jobs to self-hosted runners (My…
Browse files Browse the repository at this point in the history
…stenLabs#1715)

* move explorer-client and rust codecov jobs to self-hosted runners now that we have more

* force a change in explorer to trigger the build; will reverse out later

* stop node installation skip from failing build

- The node.js installer GitHub Action seems to be failing when node
  is already installed but not in the place where the action
  runner wants to cache it.

* Turned off actions/setup-node caching; upgraded action version

- We don't want the caching - it sends way too much data
  to github. Build machines are fast.

* Revert "force a change in explorer to trigger the build; will reverse out later"

This reverts commit 1982cd0.

* explorer build back to gh-hosted; remove caching

- restores building the explorer build on the
  GitHub-hosted builders.  Also puts the actions/setup-node
  from v3 back to the original v2.

- remove caching from the Rust codecov build.

Co-authored-by: Todd Fiala <[email protected]>
  • Loading branch information
todd-mystenlabs and tfiala authored May 3, 2022
1 parent c20f5eb commit b3ed156
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Generate code coverage
needs: diff
if: github.event.pull_request.draft == false && needs.diff.outputs.isRust == 'true'
runs-on: [self-hosted, ubuntu]
runs-on: [self-hosted, self-hosted-ubuntu]
strategy:
fail-fast: true
steps:
Expand All @@ -33,9 +33,6 @@ jobs:
components: llvm-tools-preview
# Enable caching of the 'librocksdb-sys' crate by additionally caching the
# 'librocksdb-sys' src directory which is managed by cargo
- uses: bmwill/rust-cache@v1 # Fork of 'Swatinem/rust-cache' which allows caching additional paths
with:
path: ~/.cargo/registry/src/**/librocksdb-sys-*
- name: Install grcov, and cache the binary
uses: baptiste0928/cargo-install@v1
with:
Expand Down

0 comments on commit b3ed156

Please sign in to comment.