Skip to content

Commit

Permalink
Initial Page Number using Type 1 PDF fonts (#2)
Browse files Browse the repository at this point in the history
* Initial Page Number using Type 1 PDF fonts

* adding linux build targets

* updating readme
  • Loading branch information
jparris authored Sep 4, 2024
1 parent a33bc69 commit b66affb
Show file tree
Hide file tree
Showing 6 changed files with 395 additions and 133 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defaults:
shell: bash -eux {0}

jobs:
build:
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -23,16 +23,34 @@ jobs:
- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Run cargo test
- name: Run cargo build
run: cargo build --release

- uses: actions/upload-artifact@v4
with:
name: vitepress-pdf-export_macos
path: |
./target/release/vitepress-pdf-export
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Run cargo build
run: cargo build --release

- uses: actions/upload-artifact@v4
with:
name: vitepress-pdf-export
name: vitepress-pdf-export_linux
path: |
./target/release/vitepress-pdf-export
test:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -42,4 +60,4 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Run cargo test
run: cargo test --locked
run: cargo test --locked
Loading

0 comments on commit b66affb

Please sign in to comment.