Skip to content

Commit

Permalink
chore: optimize build time
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornaz committed May 6, 2022
1 parent 1afd716 commit fe9e056
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -10,13 +10,13 @@ on:

env:
RUST_VERSION: 1.58.0
CARGO_INCREMENTAL: 0
RUSTFLAGS: '-D warnings'

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3

Expand All @@ -35,8 +35,6 @@ jobs:

code-style:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- name: Install rust toolchain
Expand All @@ -50,8 +48,6 @@ jobs:

documentation:
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- name: Install rust toolchain
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/look-ahead.yml
Expand Up @@ -8,6 +8,7 @@ on:

env:
RUSTFLAGS: "-D warnings"
CARGO_INCREMENTAL: 0

jobs:
next-rust:
Expand Down
7 changes: 5 additions & 2 deletions Cargo.toml
Expand Up @@ -20,9 +20,12 @@ bevy_asset = { version = "0.7.0", default-features = false }

[dev-dependencies]
bevy = { version = "0.7.0", default-features = false, features = ["render", "x11", "png"] }
rstest = "0.12.0"
criterion = "0.3.5"
rstest = { version = "0.12.0", default-features = false }
criterion = { version = "0.3.5", default-features = false }

[[bench]]
name = "play_component"
harness = false

[profile.dev]
debug = 0

0 comments on commit fe9e056

Please sign in to comment.