Skip to content

Commit

Permalink
Merge pull request #1427 from juanky201271/dev_ci_nightly_fixed
Browse files Browse the repository at this point in the history
CI nightly fixed
  • Loading branch information
zancas authored Sep 27, 2024
2 parents 49b5211 + 9a0a7eb commit f294b3f
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 14 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 }}
4 changes: 2 additions & 2 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,7 +30,7 @@ jobs:
RUSTFLAGS: -D warnings
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

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

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
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
RUSTFLAGS: -D warnings
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

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

Expand All @@ -39,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 @@ -59,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 @@ -71,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

0 comments on commit f294b3f

Please sign in to comment.