diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7069f7ec..2d3ca474 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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/ @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 70072f9d..3869ee5e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,4 +18,4 @@ typst-ts-compiler = { path = "compiler" } [profile.release] opt-level = 3 debug = true -lto = true +lto = "thin"