Skip to content

Commit 2ad5ff2

Browse files
committed
CI: Install Typst CLI to run full crates_io_og_image test suite
1 parent e3735f9 commit 2ad5ff2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ env:
2626
POSTGRES_VERSION: 16
2727
# renovate: datasource=pypi depName=zizmor
2828
ZIZMOR_VERSION: 1.9.0
29+
# renovate: datasource=github-releases depName=typst/typst versioning=semver
30+
TYPST_VERSION: 0.13.1
2931

3032
jobs:
3133
changed-files:
@@ -167,6 +169,14 @@ jobs:
167169
# Remove the Android SDK to free up space
168170
- run: sudo rm -rf /usr/local/lib/android
169171

172+
- name: Install Typst
173+
run: |
174+
wget -q "https://github.com/typst/typst/releases/download/v${TYPST_VERSION}/typst-x86_64-unknown-linux-musl.tar.xz"
175+
tar -xf "typst-x86_64-unknown-linux-musl.tar.xz"
176+
sudo mv "typst-x86_64-unknown-linux-musl/typst" /usr/local/bin/
177+
rm -rf "typst-x86_64-unknown-linux-musl" "typst-x86_64-unknown-linux-musl.tar.xz"
178+
typst --version
179+
170180
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
171181
with:
172182
save-if: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)