Skip to content

build: multiproject #947

build: multiproject

build: multiproject #947

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
platform:
- os: ubuntu-latest
- os: windows-latest
- os: macos-latest
runs-on: ${{ matrix.platform.os }}
steps:
- name: Install bevy linux dependencies
run: sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
if: contains(matrix.platform.os, 'ubuntu')
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/[email protected]
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose