Skip to content

Commit

Permalink
debug librustzcash CI cache
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced committed Dec 13, 2024
1 parent 23af0c9 commit fc51a25
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 24 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo build --release
- name: Compress mm2 build output
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo build --release --target x86_64-apple-darwin
- name: Compress mm2 build output
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo build --release --target aarch64-apple-darwin
- name: Compress mm2 build output
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
remove-item "./MM_VERSION"
}
echo $Env:COMMIT_HASH > ./MM_VERSION
Remove-Item -Recurse -Force "$env:USERPROFILE\.cargo\git\checkouts\librustzcash*"
cargo update -p zcash_client_backend
cargo build --release
- name: Compress mm2 build output
Expand Down Expand Up @@ -314,7 +314,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo rustc --target x86_64-apple-darwin --lib --release --package mm2_bin_lib --crate-type=staticlib
- name: Compress mm2 build output
Expand Down Expand Up @@ -390,7 +390,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
wasm-pack build --release mm2src/mm2_bin_lib --target web --out-dir ../../target/target-wasm-release
- name: Compress build output
Expand Down Expand Up @@ -443,7 +443,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo rustc --target aarch64-apple-ios --lib --release --package mm2_bin_lib --crate-type=staticlib
- name: Compress mm2 build output
Expand Down Expand Up @@ -519,7 +519,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
export PATH=$PATH:/android-ndk/bin
CC_aarch64_linux_android=aarch64-linux-android21-clang CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android21-clang cargo rustc --target=aarch64-linux-android --lib --release --crate-type=staticlib --package mm2_bin_lib
Expand Down Expand Up @@ -597,7 +597,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
export PATH=$PATH:/android-ndk/bin
CC_armv7_linux_androideabi=armv7a-linux-androideabi21-clang CARGO_TARGET_ARMV7_LINUX_ANDROIDEABI_LINKER=armv7a-linux-androideabi21-clang cargo rustc --target=armv7-linux-androideabi --lib --release --crate-type=staticlib --package mm2_bin_lib
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/fmt-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
run: cargo fmt -- --check

- name: clippy lint
run: cargo clippy --all-targets --all-features -- --D warnings
run: |
cargo update -p zcash_client_backend
cargo clippy --all-targets --all-features -- --D warnings
wasm-lint:
name: Wasm Lint Checks
Expand All @@ -58,4 +60,6 @@ jobs:
uses: ./.github/actions/cargo-cache

- name: clippy lint
run: cargo clippy --target wasm32-unknown-unknown -- --D warnings
run: |
cargo update -p zcash_client_backend
cargo clippy --target wasm32-unknown-unknown -- --D warnings
17 changes: 9 additions & 8 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo build --release
- name: Compress mm2 build output
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo build --release --target x86_64-apple-darwin
- name: Compress mm2 build output
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo build --release --target aarch64-apple-darwin
- name: Compress mm2 build output
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo rustc --target x86_64-apple-darwin --lib --release --package mm2_bin_lib --crate-type=staticlib
- name: Compress mm2 build output
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
wasm-pack build --release mm2src/mm2_bin_lib --target web --out-dir ../../target/target-wasm-release
- name: Compress build output
Expand Down Expand Up @@ -406,7 +406,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo rustc --target aarch64-apple-ios --lib --release --package mm2_bin_lib --crate-type=staticlib
- name: Compress mm2 build output
Expand Down Expand Up @@ -476,7 +476,8 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
export PATH=$PATH:/android-ndk/bin
CC_aarch64_linux_android=aarch64-linux-android21-clang CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android21-clang cargo rustc --target=aarch64-linux-android --lib --release --crate-type=staticlib --package mm2_bin_lib
Expand Down Expand Up @@ -547,7 +548,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
export PATH=$PATH:/android-ndk/bin
CC_armv7_linux_androideabi=armv7a-linux-androideabi21-clang CARGO_TARGET_ARMV7_LINUX_ANDROIDEABI_LINKER=armv7a-linux-androideabi21-clang cargo rustc --target=armv7-linux-androideabi --lib --release --crate-type=staticlib --package mm2_bin_lib
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Test
run: |
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo test --bins --lib --no-fail-fast
mac-x86-64-unit:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:

- name: Test
run: |
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo test --bins --lib --no-fail-fast
win-x86-64-unit:
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Test
run: |
wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/0adeeabdd484ef40539d1275c6a765f5c530ea79/zcutil/fetch-params-alt.sh | bash
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo test --test 'mm2_tests_main' --no-fail-fast
mac-x86-64-kdf-integration:
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
- name: Test
run: |
wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/0adeeabdd484ef40539d1275c6a765f5c530ea79/zcutil/fetch-params-alt.sh | bash
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo test --test 'mm2_tests_main' --no-fail-fast
win-x86-64-kdf-integration:
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
- name: Test
run: |
wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/v0.8.1//zcutil/fetch-params-alt.sh | bash
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo update -p zcash_client_backend
cargo test --test 'docker_tests_main' --features run-docker-tests --no-fail-fast
wasm:
Expand Down

0 comments on commit fc51a25

Please sign in to comment.