Skip to content

Use the correct link.exe flag for preserving the specified symbol even if it is unused #221

Use the correct link.exe flag for preserving the specified symbol even if it is unused

Use the correct link.exe flag for preserving the specified symbol even if it is unused #221

Workflow file for this run

name: Windows
on:
pull_request: {}
push:
branches: master
jobs:
test:
strategy:
matrix:
platform:
- windows-latest
toolchain:
- stable
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('Cargo.lock') }}
- uses: actions/cache@v1
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
target: "x86_64-pc-windows-gnu"
- name: "Test on the native x86_64-pc-windows-mscv"
run: cargo test --all-features --workspace
- name: "Test when cross-compiling to x86_64-pc-windows-gnu"
env:
AUDITABLE_TEST_TARGET: "x86_64-pc-windows-gnu"
run: cargo test --all-features --workspace