From bf8485c5fb2a06d2858a4c3c5e643b5d8d2e1b36 Mon Sep 17 00:00:00 2001 From: Reiko Asakura Date: Sat, 20 Feb 2021 17:26:48 -0500 Subject: Build with Release configuration when packaging --- .github/workflows/package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/package.yml') diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index df2079c..0b2f358 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -64,7 +64,7 @@ jobs: Get-ChildItem -Recurse -File -Path include | ForEach-Object {(Get-Content -Raw $_.FullName) -replace "$name","$name ${{ env.version }}" | Set-Content -Encoding utf8NoBOM -NoNewLine $_.FullName} - cmake . -D CMAKE_INSTALL_PREFIX=/sdk/target + cmake . -D CMAKE_INSTALL_PREFIX=/sdk/target -D CMAKE_BUILD_TYPE=Release if ($LastExitCode -ne 0) { exit $LastExitCode } make install if ($LastExitCode -ne 0) { exit $LastExitCode } -- cgit v1.2.3