Skip to content

Update examples.md #583

Update examples.md

Update examples.md #583

Workflow file for this run

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