-
Notifications
You must be signed in to change notification settings - Fork 495
45 lines (37 loc) · 1.07 KB
/
raw_dylib.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
40
41
42
43
44
45
name: raw_dylib
on:
pull_request:
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
branches:
- master
env:
RUSTFLAGS: --cfg windows_raw_dylib
jobs:
check:
runs-on: windows-2022
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@v4
- 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