From 2741c58a01bbc0c8d1f8768299cfcf0ebf3fb275 Mon Sep 17 00:00:00 2001 From: DioEgizio <83089242+DioEgizio@users.noreply.github.com> Date: Mon, 21 Mar 2022 19:11:55 +0100 Subject: [PATCH] bring back notportable builds --- .github/workflows/build.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac181079..8819b80b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,10 +27,23 @@ jobs: - os: windows-2022 name: "Windows-i686" msystem: mingw32 + portable: false - os: windows-2022 name: "Windows-x86_64" msystem: mingw64 + portable: false + + - os: windows-2022 + name: "Windows-i686-portable" + msystem: mingw32 + portable: true + + - os: windows-2022 + name: "Windows-x86_64-portable" + msystem: mingw64 + portable: true + - os: macos-11 qt_version: 5.12.12 @@ -138,11 +151,17 @@ jobs: run: | cmake --build ${{ env.BUILD_DIR }} - - name: Build on Windows - if: runner.os == 'Windows' + - name: Build on Windows portable + if: runner.os == 'Windows' && matrix.portable == true shell: msys2 {0} run: | cmake --build ${{ env.BUILD_DIR }} + + - name: Build on Windows + if: runner.os == 'Windows' && matrix.portable != true + shell: msys2 {0} + run: | + cmake --build ${{ env.BUILD_DIR }} _DLauncher_PORTABLE=OFF - name: Install if: runner.os != 'Linux' && runner.os != 'Windows'