Skip to content

typst-community/dev-builds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typst dev builds

Unofficial builds of Typst artifacts for development purposes.

  • Artifacts:

    A machine-readable sorted catalog of published artifacts is available at catalog.json.

  • Platform: Only x86_64 Linux (musl) and Windows binaries are offered for CLI programs.

    You can open an issue if you really need binaries for other platforms.

  • Schedule: Workflows are triggered manually when requested.

  • Retention

    Artifacts in Releases are practically permanent, and are suitable for CI.

    Artifacts in Actions are retained for 90 days before they are automatically deleted by GitHub. Besides, files downloaded from GitHub workflow webpages might be double-zipped. You can use gh run download --name ⟨asset-name⟩ instead.

Additional explanation for docs

docs.json is the HTML-in-JSON representation of the documentation, and docs-assets contains preview images for the examples. Both are generated by the official typst-docs crate.

You can build a docs website from these files yourself by leveraging typst-docs-web and other unofficial tools. The base URL for the files is set to /DOCS-BASE/. Please replace the string with your actual base URL. For example, sd '/DOCS-BASE/' '/' docs.json.

Debugging recipes

The following commands are for debugging build scripts, and are not intended for the general public.

gh workflow run

docs

gh run download --name docs.json

gh run download --name docs-assets
unzip docs-assets.zip
ls assets/

typst

gh run download --name typst-x86_64-unknown-linux-musl
tar -xf typst-x86_64-unknown-linux-musl.tar.xz
./typst-x86_64-unknown-linux-musl/typst --version

gh run download --name typst-x86_64-pc-windows-msvc
unzip typst-x86_64-pc-windows-msvc.zip
./typst-x86_64-pc-windows-msvc/typst.exe --version

package-check

gh run download --name typst-package-check-x86_64-unknown-linux-musl
tar -xf typst-package-check-x86_64-unknown-linux-musl.tar.xz
./typst-package-check-x86_64-unknown-linux-musl/typst-package-check check --help

gh run download --name typst-package-check-x86_64-pc-windows-msvc
unzip typst-package-check-x86_64-pc-windows-msvc.zip
./typst-package-check-x86_64-pc-windows-msvc/typst-package-check.exe check --help

hayagriva

gh run download --name hayagriva-x86_64-unknown-linux-musl
tar -xf hayagriva-x86_64-unknown-linux-musl.tar.xz
./hayagriva-x86_64-unknown-linux-musl/hayagriva --version

gh run download --name hayagriva-x86_64-pc-windows-msvc
unzip hayagriva-x86_64-pc-windows-msvc.zip
./hayagriva-x86_64-pc-windows-msvc/hayagriva.exe --version