Update examples.md #583
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: CI Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: [stable, beta, nightly] | |
steps: | |
- name: Install native dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsdl2-dev libasound2-dev | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: ${{ matrix.rust }} | |
- uses: actions/checkout@v1 | |
- name: Build and test (all features, all targets) | |
run: cargo test | |
- name: Build and test (no features, library only) | |
run: cargo test --lib --no-default-features |