diff --git a/.github/workflows/downstream-project-spl.yml b/.github/workflows/downstream-project-spl.yml index 017a13ce5b88c7..1714a740ae0809 100644 --- a/.github/workflows/downstream-project-spl.yml +++ b/.github/workflows/downstream-project-spl.yml @@ -148,7 +148,8 @@ jobs: run: | source ci/downstream-projects/common.sh cd "${{ matrix.programs }}" - $CARGO_TEST_SBF --arch v0 --manifest-path program/Cargo.toml + $CARGO_BUILD_SBF --arch v0 --manifest-path program/Cargo.toml + RUSTFLAGS="-Awarnings" SBF_OUT_DIR="../target/deploy" cargo test --features test-sbf --manifest-path program/Cargo.toml - name: Test SBPFv1 shell: bash @@ -156,7 +157,8 @@ jobs: source ci/downstream-projects/common.sh cd "${{ matrix.programs }}" rm -rf target/deploy target/sbpf* - $CARGO_TEST_SBF --arch v1 --manifest-path program/Cargo.toml + $CARGO_BUILD_SBF --arch v1 --manifest-path program/Cargo.toml + RUSTFLAGS="-Awarnings" SBF_OUT_DIR="../target/deploy" cargo test --features test-sbf --manifest-path program/Cargo.toml - name: Test SBPFv2 shell: bash @@ -164,7 +166,8 @@ jobs: source ci/downstream-projects/common.sh cd "${{ matrix.programs }}" rm -rf target/deploy target/sbpf* - $CARGO_TEST_SBF --arch v2 --manifest-path program/Cargo.toml + $CARGO_BUILD_SBF --arch v2 --manifest-path program/Cargo.toml + RUSTFLAGS="-Awarnings" SBF_OUT_DIR="../target/deploy" cargo test --features test-sbf --manifest-path program/Cargo.toml - name: Test SBPFv3 shell: bash @@ -172,4 +175,5 @@ jobs: source ci/downstream-projects/common.sh cd "${{ matrix.programs }}" rm -rf target/deploy target/sbpf* - $CARGO_TEST_SBF --arch v3 --manifest-path program/Cargo.toml + $CARGO_BUILD_SBF --arch v3 --manifest-path program/Cargo.toml + RUSTFLAGS="-Awarnings" SBF_OUT_DIR="../target/deploy" cargo test --features test-sbf --manifest-path program/Cargo.toml