-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded to bevy 0.14.0; All tests and examples passing (#43)
* Upgraded to bevy 0.14.0; All tests and examples passing * Made error handling in example more clear * Revert to simple unwrap * Switched to git repo for crate Git version of the crate seems to more reliably provide the steamworks SDK, which will cause strange errors at startup if not prooperly configured. Targeting the same specific tag that the version of crates.io so this shouldn't cause unecessary problems. Manual upgrades will need to be done over time. At this point I might just be willing to maintain this crate since it's so useful for publishing games on steam! * More robust CI
- Loading branch information
1 parent
88965a9
commit 939b1ea
Showing
4 changed files
with
30 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,52 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
on: [push, pull_request, workflow_dispatch] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
toolchain: [stable] | ||
toolchain: [stable, nightly] | ||
op: [build, test, clippy] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: actions-rs/toolchain@v1 | ||
id: toolchain | ||
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
profile: minimal | ||
components: rustfmt, clippy | ||
override: true | ||
|
||
- 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: Setup cache | ||
uses: actions/cache@v4 | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.cargo/registry | ||
~/.cargo/git | ||
target | ||
key: ${{ runner.os }}-test-rustc-${{ steps.toolchain.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- run: cargo fmt --all -- --check | ||
if: runner.os == 'linux' | ||
|
||
- run: cargo clippy --all-features | ||
- uses: actions-rs/cargo@v1 | ||
if: runner.os == 'linux' | ||
with: | ||
command: fmt | ||
args: --all -- --check | ||
|
||
- run: cargo test --workspace | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: ${{ matrix.op }} | ||
env: | ||
CARGO_INCREMENTAL: 0 | ||
RUSTFLAGS: "-C debuginfo=0" |
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