Skip to content
Draft
Show file tree
Hide file tree
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
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,32 @@ jobs:
env:
RUSTFLAGS: "-C debuginfo=0 -D warnings"

integration-tests:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }}
- uses: dtolnay/rust-toolchain@stable
- name: Install Linux dependencies
uses: ./.github/actions/install-linux-deps
- name: Build & run integration tests
# See tools/ci/src/main.rs for the commands this runs
run: cargo run -p ci -- integration-test
env:
RUSTFLAGS: "-C debuginfo=0 -D warnings"

ci:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,25 @@ jobs:
env:
RUSTFLAGS: "-C debuginfo=0 -D warnings"

integration-tests:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
# Disable this job when running on a fork.
if: github.repository == 'bevyengine/bevy'
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@beta
- name: Install Linux dependencies
uses: ./.github/actions/install-linux-deps
- name: Build & run integration tests
# See tools/ci/src/main.rs for the commands this runs
run: cargo run -p ci -- integration-test
env:
RUSTFLAGS: "-C debuginfo=0 -D warnings"

lint:
runs-on: ubuntu-latest
# Disable this job when running on a fork.
Expand Down