update h3 to 0.0.5 #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
BUILD_TYPE: ["Debug"] | |
os: [ windows-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get latest version of CMake | |
uses: lukka/get-cmake@latest | |
- name: Install rust stable | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: 1.78.0 | |
components: rustfmt, clippy | |
- name: Run cargo check | |
run: cargo check | |
- name: Run cargo fmt | |
run: cargo fmt --all -- --check | |
- name: Run cargo clippy | |
run: cargo clippy -- -D warnings | |
- name: run cmake | |
run: > | |
cmake . -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} -B build | |
- name: run build | |
run: cmake --build build --config ${{ matrix.BUILD_TYPE }} | |
- name: Run cargo test | |
run: cargo test --all -- --nocapture |