Skip to content
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
49 changes: 49 additions & 0 deletions .github/workflows/debug-119.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "Debug #119"

on:
- push

env:
CARGO_TERM_COLOR: always

jobs:
build-test:
runs-on: ${{ matrix.os.os }}
strategy:
fail-fast: false
matrix:
os:
- build: linux
os: ubuntu-22.04
target: x86_64-unknown-linux-gnu

- build: macos
os: macos-latest
target: x86_64-apple-darwin

- build: macos-m1
os: macos-latest
target: aarch64-apple-darwin

- build: windows-gnu
os: windows-latest
target: x86_64-pc-windows-gnu

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
target: ${{ matrix.os.target }}
cache-key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
- name: Install protoc for lang repo
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: cargo build --verbose --release --target ${{ matrix.os.target }}
- name: Test
run: cargo run --release --target ${{ matrix.os.target }} -- fontspector-py/data/test/montserrat/* --html report.html
2 changes: 1 addition & 1 deletion fontspector-cli/src/reporters/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub fn create_user_home_templates_directory(force: bool) -> PathBuf {
let home = homedir::my_home()
.expect("Couldn't get home directory")
.expect("No home directory found");
let templates_dir = home.join(".fontspector/");
let templates_dir = home.join(".fontspector");
if !templates_dir.exists() {
std::fs::create_dir_all(&templates_dir).unwrap_or_else(|e| {
println!("Couldn't create {:?}: {}", templates_dir.to_str(), e);
Expand Down
Loading