Skip to content

Commit

Permalink
next attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Aug 21, 2024
1 parent ea338f6 commit 0bb4b1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ jobs:
path: mutool
key: mupdf-binary-v1

- name: Install poppler-utils
- name: Install deps
run: |
sudo apt-get install -y poppler-utils
sudo apt-get install -y ghostscript
- name: Download the pdfium library
run: |
Expand Down Expand Up @@ -121,7 +122,8 @@ jobs:
run: |
sudo chmod +x pdfium
sudo chmod +x mutool
echo "POPPLER_BIN=$(pwd)/pdftoppm" >> $GITHUB_ENV
echo "POPPLER_BIN=pdftoppm" >> $GITHUB_ENV
echo "GHOSTSCRIPT_BIN=gs" >> $GITHUB_ENV
echo "PDFIUM_BIN=$(pwd)/pdfium" >> $GITHUB_ENV
echo "PDFBOX_BIN=$(pwd)/pdfbox.jar" >> $GITHUB_ENV
echo "PDFJS_BIN=$(pwd)/sitro/src/pdfjs/pdfjs_render.mjs" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub(crate) mod test_utils {
use difference::{Changeset, Difference};
use std::path::PathBuf;

const REPLACE: bool = true;
const REPLACE: bool = false;

pub fn load_font(name: &str) -> Vec<u8> {
let path = PathBuf::from(env!("CARGO_MANIFEST_DIR"))
Expand Down

0 comments on commit 0bb4b1c

Please sign in to comment.