Skip to content

Commit

Permalink
Merge pull request #278 from janhohenheim/bevy-12
Browse files Browse the repository at this point in the history
Update to Bevy 0.12

Former-commit-id: 5f5999f
  • Loading branch information
janhohenheim authored Jan 22, 2024
2 parents 14f9824 + 335ac89 commit 30844d9
Show file tree
Hide file tree
Showing 52 changed files with 2,347 additions and 1,856 deletions.
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/[email protected]
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

0 comments on commit 30844d9

Please sign in to comment.