Skip to content

Commit

Permalink
ci: Add windows-ci-shared that uses vcpkg.
Browse files Browse the repository at this point in the history
This uses `vcpkg` to install a copy of Harfbuzz rather than using
the `bundled` feature.
  • Loading branch information
waywardmonkeys committed Dec 29, 2023
1 parent 7cec8f3 commit dabcf86
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,28 @@ jobs:
env:
RUST_BACKTRACE: 1

windows-ci:
windows-ci-shared:
name: stable, Windows, shared library
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install harfbuzz from vckpkg
run: vcpkg install harfbuzz:x64-windows

- name: Cargo build
run: cargo build --workspace

- name: Cargo test
run: cargo test --workspace
env:
RUST_BACKTRACE: 1

windows-ci-static:
name: stable, Windows, static library
runs-on: windows-latest

Expand Down Expand Up @@ -189,7 +210,8 @@ jobs:
- "mac-ci-shared"
- "mac-ci-static"
- "wasm32-emscripten-ci"
- "windows-ci"
- "windows-ci-shared"
- "windows-ci-static"

steps:
- name: Mark the job as successful
Expand Down

0 comments on commit dabcf86

Please sign in to comment.