Skip to content

Fix Windows linker error: patch esaxx-rs to use dynamic CRT #8

Fix Windows linker error: patch esaxx-rs to use dynamic CRT

Fix Windows linker error: patch esaxx-rs to use dynamic CRT #8

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
clippy:
name: Clippy (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
# - name: Install cmake
# if: runner.os == 'Linux'
# run: sudo apt-get update && sudo apt-get install -y cmake
- run: cargo clippy --all-targets -- -D warnings
test:
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
# - name: Install cmake
# if: runner.os == 'Linux'
# run: sudo apt-get update && sudo apt-get install -y cmake
- run: cargo test --all