Skip to content

Commit

Permalink
fix(ci): retry typst compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Apr 23, 2023
1 parent 90fb956 commit cab569c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
strategy:
matrix:
include:
# - os: windows-latest
# rust-target: x86_64-pc-windows-msvc
# platform: win32
# arch: x64
- os: windows-latest
rust-target: x86_64-pc-windows-msvc
platform: win32
arch: x64
- os: windows-latest
rust-target: i686-pc-windows-msvc
platform: win32
Expand Down Expand Up @@ -121,7 +121,6 @@ jobs:
path: artifacts
- name: Display structure of downloaded files
run: find artifacts
# pack_release win32-x64 x86_64-pc-windows-msvc
- run: |
set -ex
mkdir -p gh-release/
Expand All @@ -144,6 +143,7 @@ jobs:
chmod +x release/$name/bin/typst-ts-*
tar czvf gh-release/$name.tar.gz -C release $name
}
pack_release win32-x64 x86_64-pc-windows-msvc
pack_release win32-ia32 i686-pc-windows-msvc
pack_release win32-arm64 aarch64-pc-windows-msvc
pack_release linux-x64 x86_64-unknown-linux-gnu
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ typst-ts-compiler = { path = "compiler" }
[profile.release]
opt-level = 3
debug = true
lto = true
lto = "thin"

0 comments on commit cab569c

Please sign in to comment.