Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update timeout for .github/workflows/main.yml #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defaults:
jobs:
# Check Code style quickly by running `rustfmt` over all code
rustfmt:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
name: Rustfmt
runs-on: ubuntu-latest
steps:
Expand All @@ -25,6 +26,7 @@ jobs:
# Build `mdBook` documentation for `wasmtime`, and upload it as a temporary
# build artifact
doc_book:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
name: Doc - build the book
runs-on: ubuntu-latest
steps:
Expand All @@ -47,6 +49,7 @@ jobs:
# want to document all our transitive dependencies, hence `--no-deps`. This is
# a temporary build artifact we upload to consume later.
doc_api:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
name: Doc - build the API documentation
runs-on: ubuntu-latest
steps:
Expand All @@ -67,6 +70,7 @@ jobs:
# compile. The goal here isn't to run tests, mostly just serve as a
# double-check that Rust code compiles and is likely to work everywhere else.
checks:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
name: Check
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -115,6 +119,7 @@ jobs:


fuzz_targets:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
name: Fuzz Targets
runs-on: ubuntu-latest
steps:
Expand All @@ -130,6 +135,7 @@ jobs:
- run: cargo fuzz build --features binaryen

rebuild_peephole_optimizers:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
name: Rebuild Peephole Optimizers
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -159,11 +165,13 @@ jobs:
# Perform all tests (debug mode) for `wasmtime`. This runs stable/beta/nightly
# channels of Rust as well as macOS/Linux/Windows.
test:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [stable, beta, nightly, windows, macos]
build:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }} [stable, beta, nightly, windows, macos]
include:
- build: stable
os: ubuntu-latest
Expand Down Expand Up @@ -250,6 +258,7 @@ jobs:

# Verify that cranelift's code generation is deterministic
meta_determinist_check:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
name: Meta deterministic check
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -415,6 +424,7 @@ jobs:
# themselves as an artifact (for inspection) and then optionally creates
# github releases and/or tags for pushes.
publish:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
name: Publish
needs: [doc_book, doc_api, build]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -521,6 +531,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

cargo-audit:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
env:
CARGO_AUDIT_VERSION: 0.11.2
runs-on: ubuntu-latest
Expand Down