diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-04-15 16:02:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-15 16:02:06 +0200 |
commit | 8c98cc94581bf91ad0cc60ffaa67f9852050c066 (patch) | |
tree | 9aab46c64dfeea166894234f753cb24991d93ec6 /.github/workflows | |
parent | 715d7d4424ae34f3ff60d03505197b26ebe660be (diff) | |
parent | 1b47132ebb5b825065833cdd08252466efe58faa (diff) | |
download | PrismLauncher-8c98cc94581bf91ad0cc60ffaa67f9852050c066.tar.gz PrismLauncher-8c98cc94581bf91ad0cc60ffaa67f9852050c066.tar.bz2 PrismLauncher-8c98cc94581bf91ad0cc60ffaa67f9852050c066.zip |
Merge pull request #333 from oynqr/build/lto
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2571e91..0123c99a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -131,24 +131,24 @@ jobs: - name: Configure CMake if: runner.os != 'Linux' && runner.os != 'Windows' run: | - cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -G Ninja + cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -G Ninja - name: Configure CMake on Windows if: runner.os == 'Windows' && matrix.portable != true shell: msys2 {0} run: | - cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DLauncher_PORTABLE=OFF -G Ninja + cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_PORTABLE=OFF -G Ninja - name: Configure CMake on Windows portable if: runner.os == 'Windows' && matrix.portable == true shell: msys2 {0} run: | - cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -G Ninja + cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -G Ninja - name: Configure CMake on Linux if: runner.os == 'Linux' && matrix.portable != true run: | - cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DLauncher_PORTABLE=OFF -G Ninja + cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DLauncher_PORTABLE=OFF -DENABLE_LTO=ON -G Ninja - name: Configure CMake on Linux Portable if: runner.os == 'Linux' && matrix.portable == true |