-
Notifications
You must be signed in to change notification settings - Fork 150
39 lines (37 loc) · 910 Bytes
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Windows
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [windows-2019, windows-2022]
env:
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
target: ${{ matrix.env.TARGET }}
- name: Build and test
env:
TARGET: ${{ matrix.env.TARGET }}
run: |
rustc -V
cargo -V
cargo test --no-run --target %TARGET%
cargo run --manifest-path systest/Cargo.toml --target %TARGET%
cargo test --no-run --target %TARGET% --features openssl-on-win32,vendored-openssl
shell: cmd