Tentative to fix windows build by adding mingw #9
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: Windows build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Set up MinGW | |
uses: egor-tensin/setup-mingw@v2 | |
with: | |
platform: x64 | |
- uses: actions/checkout@v3 | |
- run: git submodule update --init --recursive | |
- uses: houseabsolute/actions-rust-cross@v0 | |
with: | |
target: x86_64-pc-windows-gnu | |
command: test | |
toolchain: nightly-x86_64-pc-windows-gnu | |
args: --release |