Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/downstream-project-spl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,28 +148,32 @@ 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
run: |
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
run: |
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
run: |
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
Loading