-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into NoSTDBevyReflect
- Loading branch information
Showing
338 changed files
with
7,018 additions
and
3,366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
( | ||
events: [ | ||
(100, Screenshot), | ||
(200, AppExit), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,8 +72,7 @@ jobs: | |
run: cargo run -p ci -- lints | ||
|
||
miri: | ||
# Explicitly use macOS 14 to take advantage of M1 chip. | ||
runs-on: macos-14 | ||
runs-on: macos-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -127,7 +126,7 @@ jobs: | |
- name: Check Compile | ||
# See tools/ci/src/main.rs for the commands this runs | ||
run: cargo run -p ci -- compile | ||
|
||
check-compiles-no-std: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
|
@@ -231,10 +230,10 @@ jobs: | |
- name: Taplo info | ||
if: failure() | ||
run: | | ||
echo 'To fix toml fmt, please run `taplo fmt`' | ||
echo 'To check for a diff, run `taplo fmt --check --diff' | ||
echo 'To fix toml fmt, please run `taplo fmt`.' | ||
echo 'To check for a diff, run `taplo fmt --check --diff`.' | ||
echo 'You can find taplo here: https://taplo.tamasfe.dev/' | ||
echo 'Or if you use VSCode, use the `Even Better Toml` extension with 2 spaces' | ||
echo 'Or if you use VSCode, use the `Even Better Toml` extension.' | ||
echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml' | ||
typos: | ||
|
@@ -243,7 +242,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Check for typos | ||
uses: crate-ci/[email protected].0 | ||
uses: crate-ci/[email protected].3 | ||
- name: Typos info | ||
if: failure() | ||
run: | | ||
|
@@ -254,19 +253,14 @@ jobs: | |
echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode' | ||
run-examples-macos-metal: | ||
# Explicitly use macOS 14 to take advantage of M1 chip. | ||
runs-on: macos-14 | ||
runs-on: macos-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Disable audio | ||
# Disable audio through a patch. on github m1 runners, audio timeouts after 15 minutes | ||
run: git apply --ignore-whitespace tools/example-showcase/disable-audio.patch | ||
- name: Build bevy | ||
# this uses the same command as when running the example to ensure build is reused | ||
run: | | ||
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 | ||
|
@@ -301,7 +295,7 @@ jobs: | |
with: | ||
name: example-run-macos | ||
path: example-run/ | ||
|
||
check-doc: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
|
@@ -316,7 +310,9 @@ jobs: | |
~/.cargo/git/db/ | ||
target/ | ||
key: ${{ runner.os }}-check-doc-${{ hashFiles('**/Cargo.toml') }} | ||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{ env.NIGHTLY_TOOLCHAIN }} | ||
- name: Install Linux dependencies | ||
uses: ./.github/actions/install-linux-deps | ||
with: | ||
|
@@ -327,7 +323,7 @@ jobs: | |
run: cargo run -p ci -- doc | ||
env: | ||
CARGO_INCREMENTAL: 0 | ||
RUSTFLAGS: "-C debuginfo=0" | ||
RUSTFLAGS: "-C debuginfo=0 --cfg docsrs_dep" | ||
# This currently report a lot of false positives | ||
# Enable it again once it's fixed - https://github.com/bevyengine/bevy/issues/1983 | ||
# - name: Installs cargo-deadlinks | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.