Update linux.yml #4
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 MinGW | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Set up MinGW | |
uses: egor-tensin/[email protected] | |
with: | |
version: 12.2.0 | |
platform: x64 | |
- uses: actions/checkout@v3 | |
- name: Rustup Toolchain | |
run: rustup toolchain install stable-x86_64-pc-windows-gnu | |
- name: Rustup Target | |
run: rustup target add x86_64-pc-windows-gnu | |
- name: Build | |
run: cargo +stable-x86_64-pc-windows-gnu build --verbose --target x86_64-pc-windows-gnu | |