Skip to content

updated (https://github.com/floooh/sokol/commit/f8c309ff3b1b51aba5970… #154

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

updated (https://github.com/floooh/sokol/commit/f8c309ff3b1b51aba5970… #154

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@v4
- 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