Skip to content

Commit

Permalink
Added LTO for Windows Release Build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Redfire75369 committed Dec 6, 2023
1 parent a029ab2 commit 63f20be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,16 @@ jobs:
if: matrix.id == 'windows'
env:
MOZTOOLS_PATH: ${{ github.workspace }}\\target\\dependencies\\moztools-4.0
MOZ_LTO: full
CC: clang-cl
CXX: clang-cl
AR: llvm-lib
LINKER: lld-link
CFLAGS: /clang:-flto=thin /clang:-fuse-ld=lld-link
CXXFLAGS: /clang:-flto=thin /clang:-fuse-ld=lld-link
RUSTFLAGS: -Clinker-plugin-lto -Clinker=lld-link -Clink-arg=/verbose
run: |
just build-release -v --target $env:TARGET
just build-release -vv --target $env:TARGET
Rename-Item -Path .\target\$env:TARGET\release\cli.exe -NewName spiderfire.exe
- name: Build MacOS
Expand Down

0 comments on commit 63f20be

Please sign in to comment.