Skip to content

Commit 7eac914

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

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,18 @@ jobs:
169169
strategy:
170170
fail-fast: false
171171
matrix:
172-
rust: [stable]
173-
version: ["1.8", "1.10", "1.12"]
172+
include:
173+
- {target: "x86_64-pc-windows-msvc", version: "1.8"}
174+
- {target: "x86_64-pc-windows-msvc", version: "1.10"}
175+
- {target: "x86_64-pc-windows-msvc", version: "1.12"}
176+
- {target: "x86_64-pc-windows-gnu", version: "1.12"}
174177
steps:
175178
- name: Checkout repository
176179
uses: actions/checkout@v2
177180
with: {submodules: true}
178181
- name: Install Rust (${{matrix.rust}})
179182
uses: actions-rs/toolchain@v1
180-
with: {toolchain: '${{matrix.rust}}', profile: minimal, override: true}
183+
with: {toolchain: stable, target: "${{matrix.target}}", profile: minimal, override: true}
181184
- name: Configure environment
182185
shell: bash
183186
run: |

0 commit comments

Comments
 (0)