Skip to content

Commit b66affb

Browse files
authored
Initial Page Number using Type 1 PDF fonts (#2)
* Initial Page Number using Type 1 PDF fonts * adding linux build targets * updating readme
1 parent a33bc69 commit b66affb

File tree

6 files changed

+395
-133
lines changed

6 files changed

+395
-133
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defaults:
1313
shell: bash -eux {0}
1414

1515
jobs:
16-
build:
16+
build-mac:
1717
runs-on: macos-latest
1818
steps:
1919
- uses: actions/checkout@v4
@@ -23,16 +23,34 @@ jobs:
2323
- name: Install toolchain
2424
uses: actions-rust-lang/setup-rust-toolchain@v1
2525

26-
- name: Run cargo test
26+
- name: Run cargo build
27+
run: cargo build --release
28+
29+
- uses: actions/upload-artifact@v4
30+
with:
31+
name: vitepress-pdf-export_macos
32+
path: |
33+
./target/release/vitepress-pdf-export
34+
build-linux:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v4
38+
with:
39+
fetch-depth: 0
40+
41+
- name: Install toolchain
42+
uses: actions-rust-lang/setup-rust-toolchain@v1
43+
44+
- name: Run cargo build
2745
run: cargo build --release
2846

2947
- uses: actions/upload-artifact@v4
3048
with:
31-
name: vitepress-pdf-export
49+
name: vitepress-pdf-export_linux
3250
path: |
3351
./target/release/vitepress-pdf-export
3452
test:
35-
runs-on: macos-latest
53+
runs-on: ubuntu-latest
3654
steps:
3755
- uses: actions/checkout@v4
3856
with:
@@ -42,4 +60,4 @@ jobs:
4260
uses: actions-rust-lang/setup-rust-toolchain@v1
4361

4462
- name: Run cargo test
45-
run: cargo test --locked
63+
run: cargo test --locked

0 commit comments

Comments
 (0)