Skip to content

Commit

Permalink
Upgrade freetype-sys to version 0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
mrobinson committed Jun 17, 2024
1 parent a6157a6 commit 230080a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- name: install harfbuzz from apt

- name: Install harfbuzz from apt
run: |
sudo apt update
sudo apt install libharfbuzz-dev
sudo apt install libharfbuzz-dev libfreetype-dev
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -54,16 +54,16 @@ jobs:
# do this where the embedded harfbuzz is statically linked, but we don't
# need to do it for every environment.
- name: Cargo package
run: cargo package --manifest-path=harfbuzz-sys/Cargo.toml --features bundled
run: cargo package --manifest-path=harfbuzz-sys/Cargo.toml --features "freetype-sys/bundled bundled"

- name: Cargo build
run: cargo build --workspace --features bundled
run: cargo build --workspace --features "freetype-sys/bundled bundled"

- name: Cargo clippy
run: cargo clippy --workspace --features bundled -- -D warnings
run: cargo clippy --workspace --features "freetype-sys/bundled bundled" -- -D warnings

- name: Cargo test
run: cargo test --workspace --features bundled
run: cargo test --workspace --features "freetype-sys/bundled bundled":w
env:
RUST_BACKTRACE: 1

Expand Down
2 changes: 1 addition & 1 deletion harfbuzz-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ optional = true
features = ["Win32_Graphics_DirectWrite"]

[dependencies.freetype-sys]
version = "0.20.1"
version = "0.21.0"
optional = true

[features]
Expand Down

0 comments on commit 230080a

Please sign in to comment.