Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Bump freetype-sys verion to 0.17.0 #69

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI

on:
push:
branches:
- master
pull_request:

env:
RUSTFLAGS: -Cdebuginfo=0
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: 1

jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.toolchain == 'nightly' }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
toolchain: [stable, 1.60.0]
steps:
- uses: actions/checkout@v2

# install the toolchain we are going to compile and test with
- name: install ${{ matrix.toolchain }} toolchain
id: install_toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true

# we want to install the latest nightly with clippy and rustfmt to run checks against stable
- name: install nightly toolchain
id: install_nightly_toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: clippy, rustfmt
if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest'

# run rustfmt and clippy checks, but only once
- run: cargo +nightly fmt --all -- --check
if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest'

#- run: cargo +nightly clippy -Z unstable-options --workspace --all-targets --all-features
# if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest'

# run tests
- run: cargo test --verbose
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "lib.rs"

[dependencies]
expat-sys = "2.1.0"
freetype-sys = "0.13.0"
freetype-sys = "0.17.0"

[build-dependencies]
pkg-config = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn main() {

assert!(Command::new("make")
.env("MAKEFLAGS", env::var("CARGO_MAKEFLAGS").unwrap_or_default())
.args(&["-R", "-f", "makefile.cargo"])
.args(["-R", "-f", "makefile.cargo"])
.status()
.unwrap()
.success());
Expand Down