Skip to content

ci

ci #613

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- master
schedule:
- cron: '00 01 * * *'
jobs:
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
build:
- stable
- beta
- nightly
- macos
- win-msvc
include:
- build: stable
os: ubuntu-latest
rust: stable
- build: beta
os: ubuntu-latest
rust: beta
- build: nightly
os: ubuntu-latest
rust: nightly
- build: macos
os: macos-latest
rust: stable
- build: win-msvc
os: windows-latest
rust: stable
steps:
- uses: actions/checkout@v4
- name: Cache saves
uses: actions/cache@v4
with:
path: assets/saves
key: assets/saves
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Build
run: cargo build --all --verbose
- name: Run tests
run: cargo test --all --verbose -- --nocapture