There was an error while loading. Please reload this page.
2 parents 31538c7 + 4c80395 commit 45fa8dfCopy full SHA for 45fa8df
1 file changed
.github/workflows/ci.yml
@@ -52,4 +52,17 @@ jobs:
52
target
53
key: ${{ runner.os }}-test-${{ hashFiles('**/Cargo.lock') }}
54
restore-keys: ${{ runner.os }}-test-
55
+ # The integration tests load the compiled program from
56
+ # target/deploy/flux_dex.so, so the SBF toolchain must build it first.
57
+ - name: Install Solana CLI (cargo build-sbf)
58
+ run: |
59
+ sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
60
+ echo "$HOME/.local/share/solana/install/active_release/bin" >> "$GITHUB_PATH"
61
+ - name: Cache SBF platform tools
62
+ uses: actions/cache@v4
63
+ with:
64
+ path: ~/.cache/solana
65
+ key: ${{ runner.os }}-sbf-tools
66
+ - name: Build SBF program
67
+ run: cargo build-sbf
68
- run: cargo test
0 commit comments