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 to Bevy 0.12 #278

Merged
merged 38 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
21fd9fd
Update crates
janhohenheim Jan 21, 2024
2830a3e
Migrate https://bevyengine.org/learn/migration-guides/0.10-0.11/#remo…
janhohenheim Jan 21, 2024
96cdbfd
Migrate https://bevyengine.org/learn/migration-guides/0.10-0.11/#sche…
janhohenheim Jan 21, 2024
f7c892b
Migrate https://bevyengine.org/learn/migration-guides/0.10-0.11/#from…
janhohenheim Jan 21, 2024
c81ef1c
Migrate https://bevyengine.org/learn/migration-guides/0.10-0.11/#from…
janhohenheim Jan 21, 2024
64aee2a
Remove deprecated import
janhohenheim Jan 21, 2024
d1ce117
Rename HandleUntyped to UntypedHandle
janhohenheim Jan 21, 2024
68119b7
Add Eq to Actionlikes
janhohenheim Jan 21, 2024
c8107a9
Add Hash to Actionlikes
janhohenheim Jan 21, 2024
897e616
Rename HandleId to UntypedAssetId
janhohenheim Jan 21, 2024
b79cac5
Update material derives
janhohenheim Jan 21, 2024
3b56102
Migrate https://bevyengine.org/learn/migration-guides/0.10-0.11/#requ…
janhohenheim Jan 21, 2024
5c5a959
Convert UntypedHandles to Handle<T>
janhohenheim Jan 21, 2024
d24d341
Remove line rendering plugin because it does not support Bevy 0.12. S…
janhohenheim Jan 21, 2024
068ef2f
Migrate https://bevyengine.org/learn/migration-guides/0.10-0.11/#sche…
janhohenheim Jan 21, 2024
e0a395e
Migrate https://bevyengine.org/learn/migration-guides/0.10-0.11/#sche…
janhohenheim Jan 21, 2024
481fabc
Migrate Hanabi
janhohenheim Jan 21, 2024
01f1de3
Migrate Hanabi
janhohenheim Jan 21, 2024
b979fd3
Migrate some trivial things
janhohenheim Jan 21, 2024
918f46b
Migrate asset event variants
janhohenheim Jan 21, 2024
fb1ad07
Move systems to startup
janhohenheim Jan 21, 2024
606568f
Migrate https://bevyengine.org/learn/migration-guides/0.11-0.12/#asse…
janhohenheim Jan 21, 2024
f306325
Migrate some settings
janhohenheim Jan 21, 2024
fb9c67c
Remove warbler grass until it supports Bevy 0.12. See https://github.…
janhohenheim Jan 21, 2024
0f6b2db
Update Asset Event variants
janhohenheim Jan 21, 2024
e612c86
Fix some warnings
janhohenheim Jan 21, 2024
b418479
Fix warnings
janhohenheim Jan 21, 2024
11fd317
Fix some crashes
janhohenheim Jan 21, 2024
764f346
Fix some shader issues
janhohenheim Jan 21, 2024
7af4b9d
Fix some file loading issues
janhohenheim Jan 21, 2024
4d3303e
Fix lints
janhohenheim Jan 21, 2024
6a3d05b
Remove repeated tiling shader
janhohenheim Jan 22, 2024
98a9a0d
Fix missing particle module
janhohenheim Jan 22, 2024
845b494
Yeet Wasm
janhohenheim Jan 22, 2024
f4f23ba
Add debug draws
janhohenheim Jan 22, 2024
38c5925
Draw navmesh
janhohenheim Jan 22, 2024
54233dd
Shift navigation path up
janhohenheim Jan 22, 2024
3355ade
Fix scene issues in blender
janhohenheim Jan 22, 2024
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
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ opt-level = 0
# In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains.
# debug = 1

# Enable some optimizations for dependencies (incl. Bevy), but not for our code. You should probably bump this up for Wasm builds.
# Enable some optimizations for dependencies (incl. Bevy), but not for our code.
[profile.dev.package."*"]
opt-level = 1
opt-level = 3

[profile.release]
lto = "thin"
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,6 @@ jobs:
- name: Run cargo test for native-dev
run: cargo test

test-wasm:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-D warnings"
if: contains(github.event.pull_request.labels.*.name, 'wasm') # Gated because building Wasm clears the `target` dir, invalidating the cache and causing builds to take > 30 mins :(
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.NIGHTLY_TOOLCHAIN }}
- name: Cache Cargo build files
uses: Leafwing-Studios/cargo-cache@v1
- name: Install alsa and udev
run: sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev
- name: Install trunk
uses: jetli/trunk-action@v0.1.0
with:
version: "v0.16.0"
- name: Add wasm target
run: |
rustup target add wasm32-unknown-unknown
- name: Build wasm
run: trunk build --no-default-features --features wasm_dev

lint:
runs-on: ubuntu-latest
env:
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/deploy-web.yml

This file was deleted.

Loading