mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-24 03:41:29 +11:00
31 lines
665 B
YAML
31 lines
665 B
YAML
|
on: [push, pull_request]
|
||
|
|
||
|
name: CI
|
||
|
|
||
|
jobs:
|
||
|
build_and_test:
|
||
|
name: Test
|
||
|
strategy:
|
||
|
matrix:
|
||
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
steps:
|
||
|
- uses: actions/checkout@v1
|
||
|
- uses: actions-rs/toolchain@v1
|
||
|
with:
|
||
|
toolchain: stable
|
||
|
override: true
|
||
|
- name: cargo fetch
|
||
|
uses: actions-rs/cargo@v1
|
||
|
with:
|
||
|
command: fetch
|
||
|
- name: cargo test build
|
||
|
uses: actions-rs/cargo@v1
|
||
|
with:
|
||
|
command: build
|
||
|
args: --tests
|
||
|
- name: cargo test
|
||
|
uses: actions-rs/cargo@v1
|
||
|
with:
|
||
|
command: test
|