-
Notifications
You must be signed in to change notification settings - Fork 511
163 lines (158 loc) · 5.99 KB
/
test.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
name: test
on:
pull_request:
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
branches:
- master
env:
RUSTFLAGS: -Dwarnings
jobs:
test:
name: Test
runs-on: windows-2019
strategy:
matrix:
include:
- version: stable
target: x86_64-pc-windows-msvc
- version: nightly
target: i686-pc-windows-msvc
- version: nightly
target: x86_64-pc-windows-gnu
- version: stable
target: i686-pc-windows-gnu
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update toolchain
run: rustup update --no-self-update ${{ matrix.version }} && rustup default ${{ matrix.version }}-${{ matrix.target }}
- name: Add toolchain target
run: rustup target add ${{ matrix.target }}
- name: Install clippy
run: rustup component add clippy
- name: Fix environment
uses: ./.github/actions/fix-environment
- name: Test
run: >
cargo test -p riddle &&
cargo test -p sample_bits &&
cargo test -p sample_com_uri &&
cargo test -p sample_consent &&
cargo test -p sample_core_app &&
cargo test -p sample_counter &&
cargo test -p sample_counter_sys &&
cargo test -p sample_create_window &&
cargo test -p sample_create_window_sys &&
cargo test -p sample_credentials &&
cargo test -p sample_data_protection &&
cargo test -p sample_dcomp &&
cargo test -p sample_device_watcher &&
cargo test -p sample_direct2d &&
cargo test -p sample_direct3d12 &&
cargo test -p sample_enum_windows &&
cargo test -p sample_enum_windows_sys &&
cargo test -p sample_kernel_event &&
cargo test -p sample_memory_buffer &&
cargo test -p sample_message_box &&
cargo test -p sample_message_box_sys &&
cargo test -p sample_ocr &&
cargo test -p sample_overlapped &&
cargo test -p sample_privileges &&
cargo test -p sample_privileges_sys &&
cargo test -p sample_rss &&
cargo test -p sample_simple &&
cargo test -p sample_spellchecker &&
cargo test -p sample_thread_pool_work &&
cargo test -p sample_thread_pool_work_sys &&
cargo test -p sample_uiautomation &&
cargo test -p sample_wmi &&
cargo test -p sample_xml &&
cargo test -p test_agile &&
cargo test -p test_agile_reference &&
cargo test -p test_alternate_success_code &&
cargo test -p test_arch &&
cargo test -p test_arch_feature &&
cargo test -p test_array &&
cargo test -p test_bcrypt &&
cargo test -p test_bstr &&
cargo test -p test_calling_convention &&
cargo test -p test_cfg_generic &&
cargo test -p test_collections &&
cargo test -p test_component &&
cargo test -p test_component_client &&
cargo test -p test_const_fields &&
cargo test -p test_const_params &&
cargo test -p test_const_ptrs &&
cargo test -p test_core &&
cargo test -p test_debug &&
cargo test -p test_debug_inspectable &&
cargo test -p test_debugger_visualizer &&
cargo test -p test_deprecated &&
cargo test -p test_dispatch &&
cargo test -p test_does_not_return &&
cargo test -p test_enums &&
cargo test -p test_error &&
cargo test -p test_event &&
cargo clean &&
cargo test -p test_extensions &&
cargo test -p test_handles &&
cargo test -p test_helpers &&
cargo test -p test_implement &&
cargo test -p test_interface &&
cargo test -p test_interop &&
cargo test -p test_lib &&
cargo test -p test_literals &&
cargo test -p test_match &&
cargo test -p test_matrix3x2 &&
cargo test -p test_metadata &&
cargo test -p test_msrv &&
cargo test -p test_no_use &&
cargo test -p test_not_dll &&
cargo test -p test_query_signature &&
cargo test -p test_readme &&
cargo test -p test_reserved &&
cargo test -p test_resources &&
cargo test -p test_return_handle &&
cargo test -p test_return_struct &&
cargo test -p test_riddle &&
cargo test -p test_simple_component &&
cargo test -p test_standalone &&
cargo test -p test_string_param &&
cargo test -p test_structs &&
cargo test -p test_sys &&
cargo test -p test_targets &&
cargo test -p test_unions &&
cargo test -p test_wdk &&
cargo test -p test_weak &&
cargo test -p test_weak_ref &&
cargo test -p test_win32 &&
cargo test -p test_win32_arrays &&
cargo test -p test_window_long &&
cargo test -p test_winrt &&
cargo test -p tool_core &&
cargo test -p tool_gnu &&
cargo test -p tool_lib &&
cargo test -p tool_license &&
cargo test -p tool_metadata &&
cargo test -p tool_msvc &&
cargo test -p tool_sys &&
cargo test -p tool_windows &&
cargo test -p tool_yml &&
cargo test -p windows &&
cargo test -p windows-bindgen &&
cargo test -p windows-core &&
cargo test -p windows-implement &&
cargo test -p windows-interface &&
cargo test -p windows-metadata &&
cargo test -p windows-sys &&
cargo test -p windows-targets &&
cargo test -p windows-version &&
cargo test -p windows_aarch64_gnullvm &&
cargo test -p windows_aarch64_msvc &&
cargo test -p windows_i686_gnu &&
cargo test -p windows_i686_msvc &&
cargo test -p windows_x86_64_gnu &&
cargo test -p windows_x86_64_gnullvm &&
cargo test -p windows_x86_64_msvc