Skip to content

Update to jomini 0.26 #1711

Update to jomini 0.26

Update to jomini 0.26 #1711

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@v3
- name: Cache eu4 saves
uses: actions/cache@v3
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
- name: Compile benchmarks
if: matrix.build == 'stable'
run: cargo bench --verbose --no-run
- name: Compile fuzz
if: matrix.build == 'nightly'
run: |
cargo install cargo-fuzz
echo "fuzzing disabled due to https://github.com/rust-fuzz/cargo-fuzz/issues/291"
# cargo fuzz build fuzz_extract