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:
parent
82b8d7f95d
commit
4f4c9c42c9
|
|
@ -14,28 +14,15 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test ${{ matrix.rust }} on ${{ matrix.os }}
|
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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
matrix:
|
||||||
# TODO: Windows was removed for now, see https://github.com/ZcashFoundation/zebra/issues/3801
|
# TODO: Windows was removed for now, see https://github.com/ZcashFoundation/zebra/issues/3801
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest]
|
||||||
rust: [stable]
|
rust: [stable, beta]
|
||||||
|
exclude:
|
||||||
steps:
|
- os: macos-latest
|
||||||
- run: 'echo "No build required"'
|
rust: beta
|
||||||
|
|
||||||
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]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: 'echo "No build required"'
|
- run: 'echo "No build required"'
|
||||||
|
|
@ -53,7 +40,6 @@ jobs:
|
||||||
|
|
||||||
install-from-lockfile-no-cache:
|
install-from-lockfile-no-cache:
|
||||||
name: Install zebrad from lockfile without cache on ubuntu-latest
|
name: Install zebrad from lockfile without cache on ubuntu-latest
|
||||||
timeout-minutes: 60
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -61,23 +47,20 @@ jobs:
|
||||||
|
|
||||||
check-cargo-lock:
|
check-cargo-lock:
|
||||||
name: Check Cargo.lock is up to date
|
name: Check Cargo.lock is up to date
|
||||||
timeout-minutes: 60
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: 'echo "No build required"'
|
- run: 'echo "No build required"'
|
||||||
|
|
||||||
cargo-deny:
|
cargo-deny:
|
||||||
name: Check deny.toml ${{ matrix.checks }}
|
name: Check deny.toml ${{ matrix.checks }} ${{ matrix.features }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
checks:
|
checks:
|
||||||
- bans
|
- bans
|
||||||
- sources
|
- sources
|
||||||
|
features: ['', '--all-features', '--no-default-features']
|
||||||
# Prevent sudden announcement of a new advisory from failing ci:
|
|
||||||
continue-on-error: ${{ matrix.checks == 'advisories' }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: 'echo "No build required"'
|
- run: 'echo "No build required"'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue