Skip to content

Commit 7ebb578

Browse files
ci: Add windows-ci-shared that uses vcpkg.
This uses `vcpkg` to install a copy of Harfbuzz rather than using the `bundled` feature.
1 parent c778eca commit 7ebb578

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.github/workflows/main.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,28 @@ jobs:
108108
env:
109109
RUST_BACKTRACE: 1
110110

111-
windows-ci:
111+
windows-ci-shared:
112+
name: stable, Windows, shared library
113+
runs-on: windows-latest
114+
115+
steps:
116+
- uses: actions/checkout@v3
117+
118+
- name: Install stable toolchain
119+
uses: dtolnay/rust-toolchain@stable
120+
121+
- name: Install harfbuzz from vckpkg
122+
run: vcpkg install harfbuzz:x64-windows
123+
124+
- name: Cargo build
125+
run: cargo build --workspace
126+
127+
- name: Cargo test
128+
run: cargo test --workspace
129+
env:
130+
RUST_BACKTRACE: 1
131+
132+
windows-ci-static:
112133
name: stable, Windows, static library
113134
runs-on: windows-latest
114135

@@ -170,7 +191,8 @@ jobs:
170191
- "mac-ci-shared"
171192
- "mac-ci-static"
172193
- "wasm32-emscripten-ci"
173-
- "windows-ci"
194+
- "windows-ci-shared"
195+
- "windows-ci-static"
174196

175197
steps:
176198
- name: Mark the job as successful

0 commit comments

Comments
 (0)