@@ -3,58 +3,6 @@ name: Account Compression Pull Request
33on : workflow_dispatch
44
55jobs :
6- anchor-build-account-compression :
7- runs-on : ubuntu-latest
8- steps :
9- - uses : actions/checkout@v4
10-
11- - name : Set env vars
12- run : |
13- source ci/rust-version.sh
14- echo "RUST_STABLE=$rust_stable" >> $GITHUB_ENV
15- source ci/solana-version.sh
16- echo "SOLANA_VERSION=$solana_version" >> $GITHUB_ENV
17- source ci/install-anchor.sh
18- echo "ANCHOR_CLI_VERSION=$anchor_cli_version" >> $GITHUB_ENV
19-
20- - uses : dtolnay/rust-toolchain@master
21- with :
22- toolchain : ${{ env.RUST_STABLE }}
23-
24- - uses : actions/cache@v4
25- with :
26- path : |
27- ~/.cargo/registry
28- ~/.cargo/git
29- key : cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE }}
30-
31- - uses : actions/cache@v4
32- with :
33- path : |
34- ~/.cargo/bin/rustfilt
35- key : cargo-sbf-bins-${{ runner.os }}
36-
37- - uses : actions/cache@v4
38- with :
39- path : ~/.cache/solana
40- key : solana-${{ env.SOLANA_VERSION }}
41-
42- - name : Install dependencies
43- run : |
44- ./ci/install-build-deps.sh
45- ./ci/install-program-deps.sh
46- echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
47-
48- - name : Build and test programs
49- run : ./ci/cargo-test-sbf.sh account-compression
50-
51- - name : Upload programs
52- uses : actions/upload-artifact@v3
53- with :
54- name : account-compression-programs
55- path : " account-compression/target/deploy/*.so"
56- if-no-files-found : error
57-
586 js-test-account-compression :
597 runs-on : ubuntu-latest
608 env :
7321 restore-keys : |
7422 node-
7523 - run : ./ci/js-test-account-compression.sh
24+ - uses : actions/upload-artifact@v3
25+ with :
26+ name : account-compression-programs
27+ path : |
28+ target/deploy/spl_account_compression.so
29+ target/deploy/spl_noop.so
30+ if-no-files-found : error
0 commit comments