Skip to content

Commit dabcf86

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 7cec8f3 commit dabcf86

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
@@ -121,7 +121,28 @@ jobs:
121121
env:
122122
RUST_BACKTRACE: 1
123123

124-
windows-ci:
124+
windows-ci-shared:
125+
name: stable, Windows, shared library
126+
runs-on: windows-latest
127+
128+
steps:
129+
- uses: actions/checkout@v4
130+
131+
- name: Install stable toolchain
132+
uses: dtolnay/rust-toolchain@stable
133+
134+
- name: Install harfbuzz from vckpkg
135+
run: vcpkg install harfbuzz:x64-windows
136+
137+
- name: Cargo build
138+
run: cargo build --workspace
139+
140+
- name: Cargo test
141+
run: cargo test --workspace
142+
env:
143+
RUST_BACKTRACE: 1
144+
145+
windows-ci-static:
125146
name: stable, Windows, static library
126147
runs-on: windows-latest
127148

@@ -189,7 +210,8 @@ jobs:
189210
- "mac-ci-shared"
190211
- "mac-ci-static"
191212
- "wasm32-emscripten-ci"
192-
- "windows-ci"
213+
- "windows-ci-shared"
214+
- "windows-ci-static"
193215

194216
steps:
195217
- name: Mark the job as successful

0 commit comments

Comments
 (0)