Switch all crates to Rust edition 2021 #589
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: raw_dylib | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
env: | |
RUSTFLAGS: -Dwarnings --cfg windows_raw_dylib | |
jobs: | |
test: | |
name: Test | |
runs-on: windows-2019 | |
strategy: | |
matrix: | |
include: | |
- target: x86_64-pc-windows-msvc | |
- target: i686-pc-windows-msvc | |
- target: x86_64-pc-windows-gnu | |
- target: i686-pc-windows-gnu | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Update toolchain | |
run: rustup update --no-self-update nightly && rustup default nightly-${{ matrix.target }} | |
- name: Add toolchain target | |
run: rustup target add ${{ matrix.target }} | |
- name: Fix environment | |
uses: ./.github/actions/fix-environment | |
- name: Test | |
run: > | |
cargo test -p test_calling_convention && | |
cargo test -p test_lib && | |
cargo test -p test_standalone && | |
cargo test -p test_targets && | |
cargo test -p test_win32 && | |
cargo test -p test_winrt |