Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wischli committed Apr 12, 2024
1 parent fa3c03a commit d999612
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/sanity-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Prep build
uses: ./.github/actions/prep-ubuntu
with:
cache: enabled
cache: disabled
# Cache needs Google credentials:
GWIP: ${{ secrets.GWIP_SCCACHE }}
GSA: ${{ secrets.GSA_SCCACHE }}
Expand All @@ -35,26 +35,26 @@ jobs:
TARGET: ${{ matrix.target }}
RUSTC_WRAPPER: "sccache"

benchmark-check:
name: bench-check-${{ matrix.runtime }}
runs-on: ubuntu-latest #-4-cores
strategy:
matrix:
runtime: [altair, centrifuge]
steps:
- name: Check out code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #3.5.2
# benchmark-check:
# name: bench-check-${{ matrix.runtime }}
# runs-on: ubuntu-latest #-4-cores
# strategy:
# matrix:
# runtime: [altair, centrifuge]
# steps:
# - name: Check out code
# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #3.5.2

- name: Prep build
uses: ./.github/actions/prep-ubuntu
with:
cache: enabled
GWIP: ${{ secrets.GWIP_SCCACHE }}
GSA: ${{ secrets.GSA_SCCACHE }}
# - name: Prep build
# uses: ./.github/actions/prep-ubuntu
# with:
# cache: enabled
# GWIP: ${{ secrets.GWIP_SCCACHE }}
# GSA: ${{ secrets.GSA_SCCACHE }}

- name: Runing cargo ${{ matrix.target }}
run: ./ci/run-check.sh
env:
TARGET: benchmark-check
RUNTIME: ${{ matrix.runtime }}
RUSTC_WRAPPER: "sccache"
# - name: Runing cargo ${{ matrix.target }}
# run: ./ci/run-check.sh
# env:
# TARGET: benchmark-check
# RUNTIME: ${{ matrix.runtime }}
# RUSTC_WRAPPER: "sccache"
4 changes: 2 additions & 2 deletions ci/run-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rustc --version
rustup --version
cargo --version

case $TARGET in
# case $TARGET in
# cargo-build)
# cargo build -p centrifuge-chain --release "$@"
# ;;
Expand Down Expand Up @@ -88,4 +88,4 @@ case $TARGET in
# fi
# subalfred check features $dir
# done
esac
# esac

0 comments on commit d999612

Please sign in to comment.