Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Sep 11, 2023
1 parent 0c44de7 commit 806cfc1
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/stuff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Stuff

on:
push:

jobs:
check-stuff:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
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 alsa and udev
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
if: runner.os == 'linux'
- name: Build with dynamic_linking
run: cargo build --features dynamic_linking
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-C debuginfo=0 -D warnings"
- name: Check hot reloading
run: |
cargo build --example "hot_asset_reloading,bevy_ci_testing"
(sleep 1; sed -i.bak 's/"a"/"modified"/' examples/asset/processing/assets/a.cool.ron) &; cargo run --example asset_processing --features "filesystem_watcher,bevy_ci_testing"
cat examples/asset/processing/imported_assets/a.cool.ron
env:
CI_TESTING_CONFIG: .github/example-run/alien_cake_addict.ron

0 comments on commit 806cfc1

Please sign in to comment.