Use release profile for Windows binaries

This commit is contained in:
Michael Sproul
2023-02-08 11:15:46 +11:00
parent 43843ca802
commit 0b63ea616b

View File

@@ -134,11 +134,15 @@ jobs:
- name: Build Lighthouse for Windows portable
if: matrix.arch == 'x86_64-windows-portable'
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile ${{ matrix.profile }}
# FIXME(sproul): profile set to release until this rustc issue is fixed:
#
# https://github.com/rust-lang/rust/issues/107781
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile release
- name: Build Lighthouse for Windows modern
if: matrix.arch == 'x86_64-windows'
run: cargo install --path lighthouse --force --locked --features modern,gnosis --profile ${{ matrix.profile }}
# FIXME(sproul): profile set to release (see above)
run: cargo install --path lighthouse --force --locked --features modern,gnosis --profile release
- name: Configure GPG and create artifacts
if: startsWith(matrix.arch, 'x86_64-windows') != true