Skip to content

Commit

Permalink
Speed up ci by using FUEL_ALWAYS_USE_WASM only for executor
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed Sep 17, 2024
1 parent f30e31b commit b5d5ff8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ env:
RUSTFLAGS: -D warnings
REGISTRY: ghcr.io
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
FUEL_ALWAYS_USE_WASM: true

jobs:
check-changelog:
Expand Down Expand Up @@ -124,6 +123,10 @@ jobs:
args: --all-features --workspace
- command: test
args: -p fuel-core --no-default-features
- command: test
args: -p fuel-core --lib executor --features wasm-executor
env:
FUEL_ALWAYS_USE_WASM=true
- command: test
args: -p fuel-core-client --no-default-features
- command: test
Expand Down Expand Up @@ -174,7 +177,7 @@ jobs:
target/
key: ${{ matrix.command }}-${{ matrix.args }}-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: ${{ matrix.command }} ${{ matrix.args }}
run: cargo ${{ matrix.command }} ${{ matrix.args }}
run: ${{ matrix.env }} cargo ${{ matrix.command }} ${{ matrix.args }}
- uses: FuelLabs/.github/.github/actions/slack-notify-template@master
if: always() && github.ref == 'refs/heads/master'
with:
Expand Down

0 comments on commit b5d5ff8

Please sign in to comment.