Skip to content

Commit

Permalink
fix(ci): update OS patch jobs for Rust & feature changes (#4668)
Browse files Browse the repository at this point in the history
* Update OS patch jobs for Rust & feature changes

* Restore a patch job that is actually deleted in another PR
  • Loading branch information
teor2345 authored Jun 22, 2022
1 parent 82b8d7f commit 4f4c9c4
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions .github/workflows/continous-integration-os.patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
Expand All @@ -53,31 +40,27 @@ jobs:

install-from-lockfile-no-cache:
name: Install zebrad from lockfile without cache on ubuntu-latest
timeout-minutes: 60
runs-on: ubuntu-latest

steps:
- run: 'echo "No build required"'

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"'

0 comments on commit 4f4c9c4

Please sign in to comment.