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 00e7148 commit b5456a8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo build --release
- name: Compress mm2 build output
Expand Down Expand Up @@ -126,6 +127,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo build --release --target x86_64-apple-darwin
- name: Compress mm2 build output
Expand Down Expand Up @@ -187,6 +189,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo build --release --target aarch64-apple-darwin
- name: Compress mm2 build output
Expand Down Expand Up @@ -249,6 +252,7 @@ jobs:
remove-item "./MM_VERSION"
}
echo $Env:COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo build --release
- name: Compress mm2 build output
Expand Down Expand Up @@ -310,6 +314,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
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 @@ -385,6 +390,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
wasm-pack build --release mm2src/mm2_bin_lib --target web --out-dir ../../target/target-wasm-release
- name: Compress build output
Expand Down Expand Up @@ -437,6 +443,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo rustc --target aarch64-apple-ios --lib --release --package mm2_bin_lib --crate-type=staticlib
- name: Compress mm2 build output
Expand Down Expand Up @@ -512,6 +519,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
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 @@ -589,6 +597,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
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
9 changes: 8 additions & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo build --release
- name: Compress mm2 build output
Expand Down Expand Up @@ -117,6 +118,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo build --release --target x86_64-apple-darwin
- name: Compress mm2 build output
Expand Down Expand Up @@ -172,6 +174,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo build --release --target aarch64-apple-darwin
- name: Compress mm2 build output
Expand Down Expand Up @@ -282,6 +285,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
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 @@ -351,6 +355,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
wasm-pack build --release mm2src/mm2_bin_lib --target web --out-dir ../../target/target-wasm-release
- name: Compress build output
Expand Down Expand Up @@ -400,6 +405,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo rustc --target aarch64-apple-ios --lib --release --package mm2_bin_lib --crate-type=staticlib
- name: Compress mm2 build output
Expand Down Expand Up @@ -469,7 +475,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
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 @@ -540,6 +546,7 @@ jobs:
run: |
rm -f ./MM_VERSION
echo $COMMIT_HASH > ./MM_VERSION
rm -rf ~/.cargo/git/checkouts/librustzcash*
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
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:

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

- name: Test
run: |
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo test --bins --lib --no-fail-fast
win-x86-64-unit:
Expand Down Expand Up @@ -94,6 +96,7 @@ jobs:

- name: Test
run: |
rm -rf ~/.cargo/git/checkouts/librustzcash*
cargo test --bins --lib --no-fail-fast
linux-x86-64-kdf-integration:
Expand Down Expand Up @@ -123,6 +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 test --test 'mm2_tests_main' --no-fail-fast
mac-x86-64-kdf-integration:
Expand Down Expand Up @@ -155,6 +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 test --test 'mm2_tests_main' --no-fail-fast
win-x86-64-kdf-integration:
Expand Down Expand Up @@ -220,6 +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 test --test 'docker_tests_main' --features run-docker-tests --no-fail-fast
wasm:
Expand Down

0 comments on commit b5456a8

Please sign in to comment.