Fix CI build-bpf builds
This commit is contained in:
parent
86a84396f5
commit
03882e6dd3
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
SOLANA_VERSION: '1.9.14'
|
SOLANA_VERSION: '1.10.29'
|
||||||
RUST_TOOLCHAIN: 1.60.0
|
RUST_TOOLCHAIN: 1.60.0
|
||||||
LOG_PROGRAM: 'm43thNJ58XCjL798ZSq6JGAG1BnWskhdq5or6kcnfsD'
|
LOG_PROGRAM: 'm43thNJ58XCjL798ZSq6JGAG1BnWskhdq5or6kcnfsD'
|
||||||
|
|
||||||
|
@ -65,10 +65,12 @@ jobs:
|
||||||
echo "Generating keypair..."
|
echo "Generating keypair..."
|
||||||
solana-keygen new -o "$HOME/.config/solana/id.json" --no-passphrase --silent
|
solana-keygen new -o "$HOME/.config/solana/id.json" --no-passphrase --silent
|
||||||
- name: Build all deps
|
- name: Build all deps
|
||||||
run: cargo build-bpf
|
run: |
|
||||||
|
cargo build-bpf || true
|
||||||
|
cargo +bpf build-bpf
|
||||||
# Run bpf tests and output to runner and log
|
# Run bpf tests and output to runner and log
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test-bpf 2> >(tee raw-test-bpf.log >&2)
|
run: cargo +bpf test-bpf 2> >(tee raw-test-bpf.log >&2)
|
||||||
- name: Save raw log
|
- name: Save raw log
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -10,7 +10,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
SOLANA_VERSION: "1.9.14"
|
SOLANA_VERSION: "1.10.29"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Reference in New Issue