Skip to content

Add on_each_tick_with_state #347

Add on_each_tick_with_state

Add on_each_tick_with_state #347

Workflow file for this run

name: test
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable]
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install libudev-dev libasound2-dev libsdl2-dev libsdl2-ttf-dev
- if: matrix.os == 'macOS-latest'
run: |
brew install sdl2 sdl2_ttf
- uses: actions/checkout@master
- if: matrix.os != 'windows-latest'
run: ./test.sh
- if: matrix.os == 'windows-latest'
run: |
cargo test --manifest-path=wgpu/Cargo.toml
cargo test --manifest-path=ggez/Cargo.toml
cargo test --manifest-path=ansi-terminal/Cargo.toml