Skip to content

Commit

Permalink
🐛 update Run tests pipeline with required changes for org arc runne…
Browse files Browse the repository at this point in the history
…r migration

Signed-off-by: Anathan (Ana) Ye <[email protected]>
  • Loading branch information
anaye1997 committed Aug 2, 2023
1 parent 47ea6f9 commit c311ac8
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/check_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
SCCACHE_RELEASE_URL: https://github.com/mozilla/sccache/releases/download
SCCACHE_VERSION: v0.5.3
run: |
apt update
apt install -y curl
SCCACHE_FILE=sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl
mkdir -p $HOME/.local/bin
curl -L "$SCCACHE_RELEASE_URL/$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz
Expand All @@ -42,7 +44,7 @@ jobs:
uses: actions/cache@v2
continue-on-error: false
with:
path: /home/runner/.cache/sccache
path: ~/.cache/sccache
key: sccache-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
sccache-
Expand Down Expand Up @@ -73,7 +75,7 @@ jobs:
RUST_BACKTRACE: full
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 120G
SCCACHE_DIR: /home/runner/.cache/sccache
SCCACHE_DIR: ~/.cache/sccache
run: |
source ${HOME}/.cargo/env
RUSTC_BOOTSTRAP=1 cargo test -p integration-tests --release --features=calamari --no-default-features
Expand All @@ -92,6 +94,8 @@ jobs:
SCCACHE_RELEASE_URL: https://github.com/mozilla/sccache/releases/download
SCCACHE_VERSION: v0.5.3
run: |
apt update
apt install -y curl
SCCACHE_FILE=sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl
mkdir -p $HOME/.local/bin
curl -L "$SCCACHE_RELEASE_URL/$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz
Expand All @@ -112,7 +116,7 @@ jobs:
uses: actions/cache@v2
continue-on-error: false
with:
path: /home/runner/.cache/sccache
path: ~/.cache/sccache
key: sccache-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
sccache-
Expand All @@ -123,7 +127,7 @@ jobs:
RUST_BACKTRACE: full
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 120G
SCCACHE_DIR: /home/runner/.cache/sccache
SCCACHE_DIR: ~/.cache/sccache
CARGO_TERM_COLOR: always
run: |
apt update
Expand Down Expand Up @@ -172,7 +176,7 @@ jobs:
RUST_BACKTRACE: full
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 120G
SCCACHE_DIR: /home/runner/.cache/sccache
SCCACHE_DIR: ~/.cache/sccache
run: |
${{ github.workspace }}/target/release/manta \
benchmark \
Expand All @@ -197,7 +201,7 @@ jobs:
RUST_BACKTRACE: full
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 120G
SCCACHE_DIR: /home/runner/.cache/sccache
SCCACHE_DIR: ~/.cache/sccache
run: |
${{ github.workspace }}/target/release/manta \
benchmark \
Expand All @@ -221,6 +225,8 @@ jobs:
SCCACHE_RELEASE_URL: https://github.com/mozilla/sccache/releases/download
SCCACHE_VERSION: v0.5.3
run: |
apt update
apt install -y curl
SCCACHE_FILE=sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl
mkdir -p $HOME/.local/bin
curl -L "$SCCACHE_RELEASE_URL/$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz
Expand All @@ -241,7 +247,7 @@ jobs:
uses: actions/cache@v2
continue-on-error: false
with:
path: /home/runner/.cache/sccache
path: ~/.cache/sccache
key: sccache-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
sccache-
Expand Down Expand Up @@ -283,7 +289,7 @@ jobs:
RUST_BACKTRACE: full
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 240
SCCACHE_DIR: /home/runner/.cache/sccache
SCCACHE_DIR: ~/.cache/sccache
run: |
source ${HOME}/.cargo/env
RUSTC_BOOTSTRAP=1 cargo test --release --features=runtime-benchmarks,try-runtime --workspace --exclude integration-tests
Expand Down

0 comments on commit c311ac8

Please sign in to comment.