Skip to content

improve ci

improve ci #112

Workflow file for this run

name: RustWindows
on:
push:
branches: ["master"]
pull_request:
branches: ["master", "dev"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Nightly
run: |
rustup toolchain install nightly --component miri
rustup override set nightly
cargo miri setup
rustup default nightly
setx MIRIFLAGS "-Zmiri-disable-isolation"
- name: Build
run: cargo build --all
- name: Build Release
run: cargo build --all --release
- name: Run tests Debug
run: cargo test --all
- name: Run tests Release
run: cargo test --release --all
# - name: Run miri test
# run: cargo miri test