fix: file extensions in loadFontsFromDir()
are no longer case-sensitive
#1277
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cargo test | |
env: | |
DEBUG: 'napi:*' | |
APP_NAME: 'skia' | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- '**' | |
pull_request: | |
jobs: | |
build: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
name: stable - macOS - cargo - test | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: x86_64-apple-darwin | |
toolchain: nightly-2023-04-23 | |
- name: Cache cargo registry | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
key: macOS-latest-test-cargo-cache | |
- name: Install dependencies | |
run: yarn install --immutable --mode=skip-build | |
- name: Install nasm | |
run: brew install nasm | |
- name: Download skia binary | |
run: node ./scripts/release-skia-binary.js --download | |
- name: Test | |
run: cargo test -- --nocapture |