mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
windows CI: use exact same command to prebuild (#5352)
# Objective - Running examples on windows crash due to full disk - The prebuild step was not being reused and consuming extra space ## Solution - Use the exact same command to prebuild to ensure it will be reused - Also on linux
This commit is contained in:
parent
3fdf40d9c8
commit
d65e01b768
2 changed files with 5 additions and 2 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -195,8 +195,9 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
- name: Build bevy
|
||||
# this uses the same command as when running the example to ensure build is reused
|
||||
run: |
|
||||
cargo build --features "bevy_ci_testing,trace,trace_chrome"
|
||||
TRACE_CHROME=trace-alien_cake_addict.json CI_TESTING_CONFIG=.github/example-run/alien_cake_addict.ron cargo build --example alien_cake_addict --features "bevy_ci_testing,trace,trace_chrome"
|
||||
- name: Run examples
|
||||
run: |
|
||||
for example in .github/example-run/*.ron; do
|
||||
|
|
4
.github/workflows/validation-jobs.yml
vendored
4
.github/workflows/validation-jobs.yml
vendored
|
@ -82,8 +82,10 @@ jobs:
|
|||
key: ${{ runner.os }}-windows-run-examples-${{ hashFiles('**/Cargo.toml') }}
|
||||
|
||||
- name: Build bevy
|
||||
shell: bash
|
||||
# this uses the same command as when running the example to ensure build is reused
|
||||
run: |
|
||||
cargo build --features "bevy_ci_testing"
|
||||
WGPU_BACKEND=dx12 CI_TESTING_CONFIG=.github/example-run/alien_cake_addict.ron cargo build --example alien_cake_addict --features "bevy_ci_testing"
|
||||
|
||||
- name: Run examples
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue