Skip to content

Commit

Permalink
Merge pull request #1462 from zancas/stable
Browse files Browse the repository at this point in the history
Stable
  • Loading branch information
zancas authored Oct 18, 2024
2 parents 737719f + 2f7c8a0 commit 5e319f4
Show file tree
Hide file tree
Showing 215 changed files with 9,573 additions and 5,099 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cargo-checkmate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
tool: cargo-checkmate

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install protoc
run: sudo apt-get install protobuf-compiler
Expand Down
27 changes: 21 additions & 6 deletions .github/workflows/ci-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Reject trailing whitespace
run: ./utils/trailing-whitespace.sh reject
Expand All @@ -28,26 +28,41 @@ jobs:
create-cache-key:
uses: zingolabs/zingo-mobile/.github/workflows/create-cache-key.yaml@dev

build-android:
android-build:
strategy:
matrix:
arch: [ x86_64, x86, arm64-v8a, armeabi-v7a ]
fail-fast: false
uses: zingolabs/zingo-mobile/.github/workflows/build.yaml@dev
uses: zingolabs/zingo-mobile/.github/workflows/android-build.yaml@dev
needs: create-cache-key
with:
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
arch: ${{ matrix.arch }}

integration-test-android:
android-ubuntu-integration-test-actions:
strategy:
matrix:
abi: [ x86_64, x86, arm64-v8a, armeabi-v7a ]
fail-fast: false
uses: zingolabs/zingo-mobile/.github/workflows/integration-test.yaml@dev
needs: [ create-timestamp, create-cache-key, build-android ]
uses: zingolabs/zingo-mobile/.github/workflows/android-ubuntu-integration-test-actions.yaml@dev
needs: [create-timestamp, android-build]
with:
timestamp: ${{ needs.create-timestamp.outputs.timestamp }}
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
abi: ${{ matrix.abi }}
api-level: 29

ios-build:
strategy:
fail-fast: false
uses: zingolabs/zingo-mobile/.github/workflows/ios-build.yaml@dev
needs: create-cache-key
with:
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}

ios-integration-test:
uses: zingolabs/zingo-mobile/.github/workflows/ios-integration-test.yaml@dev
needs: [ create-timestamp, ios-build ]
with:
timestamp: ${{ needs.create-timestamp.outputs.timestamp }}
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.event.pull_request.draft == false
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Reject trailing whitespace
run: ./utils/trailing-whitespace.sh reject
Expand All @@ -30,11 +30,9 @@ jobs:
RUSTFLAGS: -D warnings
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable

- name: Install protoc
run: sudo apt-get install protobuf-compiler
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Symlink lightwalletd and zcash binaries
run: ln -s /usr/bin/lightwalletd /usr/bin/zcashd /usr/bin/zcash-cli ./libtonode-tests/regtest/bin/
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ jobs:
RUSTFLAGS: -D warnings
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable

- name: Install nextest
uses: taiki-e/install-action@nextest
uses: taiki-e/install-action@v2
with:
tool: nextest
version: 0.9.78

- name: Install protoc
run: sudo apt-get install protobuf-compiler
Expand All @@ -38,7 +39,7 @@ jobs:
run: cargo nextest archive --verbose --workspace --all-features --archive-file nextest-archive.tar.zst

- name: Upload archive
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nextest-archive
path: nextest-archive.tar.zst
Expand All @@ -58,7 +59,7 @@ jobs:
partition: [1, 2, 3, 4, 5, 6, 7, 8]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: create binaries dir
run: mkdir -p ./test_binaries/bins
Expand All @@ -70,7 +71,7 @@ jobs:
run: ln -s /root/.zcash-params /github/home

- name: Download archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nextest-archive

Expand Down
Loading

0 comments on commit 5e319f4

Please sign in to comment.