Skip to content

Commit 480f879

Browse files
ci: run CI for windows-latest
1 parent 9d1176d commit 480f879

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
name: CI
22
on:
33
push:
4-
branches:
5-
- main
4+
branches: ["**"]
65
paths-ignore:
76
- '*.md'
87
pull_request:
98

109
jobs:
1110
build-full:
12-
runs-on: ubuntu-latest
11+
runs-on: ${{ matrix.os }}
1312
strategy:
1413
matrix:
14+
os: [ubuntu-latest, windows-latest]
1515
rust: [stable, beta, nightly]
1616
continue-on-error: ${{ matrix.rust == 'nightly' }}
1717
steps:
@@ -20,6 +20,11 @@ jobs:
2020
run: |
2121
rustup toolchain install ${{ matrix.rust }} --profile minimal --component clippy,rustfmt
2222
rustup default ${{ matrix.rust }}
23+
- name: Install OpenSSL on Windows
24+
if: runner.os == 'Windows'
25+
run: |
26+
vcpkg integrate install
27+
vcpkg.exe install openssl:x64-windows-static-md
2328
- name: Build
2429
run: cargo build --verbose --examples --all-features
2530
- name: Test

0 commit comments

Comments
 (0)