Version bump to 0.5.1 #115
Workflow file for this run
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: | |
release: | |
types: [created] | |
jobs: | |
build: | |
name: cgt-rs build | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "windows-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@f361669954a8ecfc00a3443f35f9ac8e610ffc06 | |
with: | |
toolchain: stable | |
components: rustfmt, clippy | |
targets: wasm32-unknown-unknown | |
- name: Add mingw64 to path for x86_64-gnu | |
if: matrix.os == 'windows-latest' | |
run: echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH | |
shell: bash | |
- name: Build | |
run: cargo build --release --all | |
- name: Test | |
run: cargo test --all | |
# - name: Clippy | |
# run: cargo clippy -- -D warnings |