Bump config from 0.15.11 to 0.15.13 #694
Workflow file for this run
This file contains hidden or 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: generate | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
BUILD_TYPE: ["Debug"] | |
os: [ windows-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: lukka/get-cmake@latest | |
with: | |
cmakeVersion: "3.21.2" | |
- name: Install rust stable | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: 1.88.0 | |
components: rustfmt, clippy | |
- name: cmake configure | |
run: > | |
cmake . -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} -B build | |
- name: remove generated com code | |
run: cmake --build build --config ${{ matrix.BUILD_TYPE }} --target force_clean | |
- name: generate rust code | |
run: cmake --build build --config ${{ matrix.BUILD_TYPE }} --target generate_rust | |
- name: check all generated files are checked in git | |
run: git diff --exit-code | |
- name: build rust code | |
run: cmake --build build --config ${{ matrix.BUILD_TYPE }} | |
- name: Install rust nightly | |
uses: dtolnay/rust-toolchain@nightly | |
# TODO: move back to stable once package-workspace is stabilized | |
# https://doc.rust-lang.org/cargo/reference/unstable.html#package-workspace | |
- name: check crate packaging | |
run: cargo +nightly -Z package-workspace package -p mssf-pal -p mssf-com -p mssf-core --allow-dirty |