Skip to content

Commit

Permalink
test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ameknite committed Feb 22, 2024
1 parent 11508ef commit 7aa928c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,33 @@ env:
NIGHTLY_TOOLCHAIN: nightly

jobs:
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
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 & run tests
# See tools/ci/src/main.rs for the commands this runs
run: cargo run -p ci -- test
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-C debuginfo=0 -D warnings"
# build:
# strategy:
# matrix:
# os: [windows-latest, ubuntu-latest, macos-latest]
# runs-on: ${{ matrix.os }}
# timeout-minutes: 30
# steps:
# - uses: actions/checkout@v4
# - uses: actions/cache@v4
# 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 & run tests
# # See tools/ci/src/main.rs for the commands this runs
# run: cargo run -p ci -- test
# env:
# CARGO_INCREMENTAL: 0
# RUSTFLAGS: "-C debuginfo=0 -D warnings"

# ci:
# runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ rust-version = "1.76.0"

[workspace]
exclude = [
"benches",
"crates/bevy_ecs_compile_fail_tests",
"benches",
"crates/bevy_ecs_compile_fail_testsz",
"crates/bevy_macros_compile_fail_tests",
"crates/bevy_reflect_compile_fail_tests",
]
members = [
members = [
"crates/*",
"examples/mobile",
"tools/ci",
Expand Down

0 comments on commit 7aa928c

Please sign in to comment.