chore: bump version to v0.10.0 #7
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-and-test-windows-mingw | |
on: ["push", "pull_request"] | |
jobs: | |
build-and-test: | |
name: build and test on windows mingw | |
runs-on: windows-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: "true" | |
- name: Install rust nightly toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.79 | |
override: true | |
components: clippy, rustfmt | |
- run: C:\msys64\usr\bin\pacman.exe -S --needed mingw-w64-x86_64-gcc --noconfirm | |
- shell: pwsh | |
run: echo "C:\msys64\mingw64\bin" >> $Env:GITHUB_PATH | |
- working-directory: ./kclvm | |
run: | | |
rustup target add x86_64-pc-windows-gnu | |
cargo build -r --target x86_64-pc-windows-gnu | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: kcl-windows-mingw | |
if-no-files-found: error | |
path: | | |
kclvm/target/x86_64-pc-windows-gnu/release/libkclvm_cli_cdylib.a | |
kclvm/target/x86_64-pc-windows-gnu/release/libkclvm_cli_cdylib.dll.a | |
kclvm/target/x86_64-pc-windows-gnu/release/kclvm_cli_cdylib.dll |