Update to bevy 0.14 #44
Workflow file for this run
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
name: Salva CI build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
check-fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check formatting | |
run: cargo fmt -- --check | |
build-native: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
strategy: | |
matrix: | |
package: [salva2d, salva3d] | |
feature: [default, parallel, sampling, parry, rapier, rapier-testbed] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt-get install -y cmake libxcb-composite0-dev | |
- name: build ${{ matrix.package }} --features ${{ matrix.feature }} | |
run: cargo build --verbose -p ${{ matrix.package }} --features ${{ matrix.feature }} | |
all-features-native: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
strategy: | |
matrix: | |
package: [salva2d, salva3d] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt-get install -y cmake | |
- name: build ${{ matrix.package }} --all-features | |
run: cargo build --verbose -p ${{ matrix.package }} --all-features | |
test-native: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
strategy: | |
matrix: | |
package: [salva2d, salva3d] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt-get install -y cmake | |
- name: test ${{ matrix.package }} | |
run: cargo test --verbose -p ${{ matrix.package }} | |
examples-native: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
strategy: | |
matrix: | |
package: [examples2d, examples3d] | |
feature: [default, parallel] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt-get install -y cmake libxcb-composite0-dev libx11-dev libasound2-dev libudev-dev | |
- name: build ${{ matrix.package }} --features ${{ matrix.feature }} | |
run: cargo build --verbose -p ${{ matrix.package }} --features ${{ matrix.feature }} | |
build-wasm: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
strategy: | |
matrix: | |
package: [salva2d, salva3d] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup target add wasm32-unknown-unknown | |
- name: wasm build ${{ matrix.package }} | |
run: cargo build -p ${{ matrix.package }} --verbose --features wasm-bindgen --target wasm32-unknown-unknown; | |
# build-wasm-emscripten: | |
# runs-on: ubuntu-latest | |
# env: | |
# RUSTFLAGS: -D warnings | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - run: rustup target add wasm32-unknown-emscripten | |
# - name: build salva2d | |
# run: cd build/salva2d && cargo build --verbose --target wasm32-unknown-emscripten; | |
# - name: build salva3d | |
# run: cd build/salva3d && cargo build --verbose --target wasm32-unknown-emscripten; | |
# - name: build salva2d --features simd-stable | |
# run: cd build/salva2d && cargo build --verbose --target wasm32-unknown-emscripten --features simd-stable; | |
# - name: build salva3d --features simd-stable | |
# run: cd build/salva3d && cargo build --verbose --target wasm32-unknown-emscripten --features simd-stable; |