Skip to content

[refactor]: replace verbose completion tests with snapshot-based macro invocations #304

[refactor]: replace verbose completion tests with snapshot-based macro invocations

[refactor]: replace verbose completion tests with snapshot-based macro invocations #304

Workflow file for this run

name: build-and-test-windows-mingw
on:
pull_request:
branches:
- main
push:
branches:
- main
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
- name: Read VERSION file
id: read_version
run: |
$version = Get-Content VERSION
echo "VERSION=v$version" >> $env:GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: kclvm-${{ env.VERSION }}-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