Skip to content

updated (https://github.com/floooh/sokol/commit/ec18cd9eacde0cf641f34… #159

updated (https://github.com/floooh/sokol/commit/ec18cd9eacde0cf641f34…

updated (https://github.com/floooh/sokol/commit/ec18cd9eacde0cf641f34… #159

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
build:
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
strategy:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-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