fix(ci): update OS patch jobs for Rust & feature changes (#4668)

* Update OS patch jobs for Rust & feature changes

* Restore a patch job that is actually deleted in another PR
This commit is contained in:
teor 2022-06-22 11:18:49 +10:00 committed by GitHub
parent 82b8d7f95d
commit 4f4c9c42c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 23 deletions

View File

@ -14,28 +14,15 @@ on:
jobs:
test:
name: Test ${{ matrix.rust }} on ${{ matrix.os }}
# The large timeout is to accommodate:
# - Windows builds (75 minutes, typically 30-50 minutes)
# - parameter downloads (40 minutes, but only when the cache expires)
timeout-minutes: 115
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# TODO: Windows was removed for now, see https://github.com/ZcashFoundation/zebra/issues/3801
os: [ubuntu-latest, macos-latest]
rust: [stable]
steps:
- run: 'echo "No build required"'
test-fake-activation-heights:
name: Test ${{ matrix.rust }} zebra-state with fake activation heights on ubuntu-latest
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable]
rust: [stable, beta]
exclude:
- os: macos-latest
rust: beta
steps:
- run: 'echo "No build required"'
@ -53,7 +40,6 @@ jobs:
install-from-lockfile-no-cache:
name: Install zebrad from lockfile without cache on ubuntu-latest
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
@ -61,23 +47,20 @@ jobs:
check-cargo-lock:
name: Check Cargo.lock is up to date
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'
cargo-deny:
name: Check deny.toml ${{ matrix.checks }}
name: Check deny.toml ${{ matrix.checks }} ${{ matrix.features }}
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- bans
- sources
# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'advisories' }}
features: ['', '--all-features', '--no-default-features']
steps:
- run: 'echo "No build required"'