Skip to content

Commit de4530a

Browse files
committed
Add mingw target for static builds
1 parent 6c1ca84 commit de4530a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,18 @@ jobs:
170170
fail-fast: false
171171
matrix:
172172
rust: [stable]
173-
version: ["1.8", "1.10", "1.12"]
173+
include:
174+
- {target: "x64_64-pc-windows-msvc", version: "1.8"}
175+
- {target: "x64_64-pc-windows-msvc", version: "1.10"}
176+
- {target: "x64_64-pc-windows-msvc", version: "1.12"}
177+
- {target: "x64_64-pc-windows-gnu", version: "1.12"}
174178
steps:
175179
- name: Checkout repository
176180
uses: actions/checkout@v2
177181
with: {submodules: true}
178182
- name: Install Rust (${{matrix.rust}})
179183
uses: actions-rs/toolchain@v1
180-
with: {toolchain: '${{matrix.rust}}', profile: minimal, override: true}
184+
with: {toolchain: '${{matrix.rust}}', target: "${{matrix.target}}", profile: minimal, override: true}
181185
- name: Configure environment
182186
shell: bash
183187
run: |

0 commit comments

Comments
 (0)