manual update before bindings cleanup merge #173
Workflow file for this run
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: Rust | |
on: [push, pull_request] | |
jobs: | |
build: | |
env: | |
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@main | |
- name: setup-rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- name: prepare-linux | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get update | |
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev | |
- name: Run cargo build --all-targets | |
run: cargo build --examples --verbose |