aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-03-22 16:42:40 +0100
committerGitHub <noreply@github.com>2022-03-22 16:42:40 +0100
commitc7fdfb811669a863606dc0a26186c0ab827db9c6 (patch)
tree1ace653c2e079db70972cde977c93df6948da472 /.github/workflows
parent64399dd8d619d1a515a72abd06ed47c9c34b94c4 (diff)
parentc6b1a776dcfada3408f4265a22fdbfdd23deccd9 (diff)
downloadPrismLauncher-c7fdfb811669a863606dc0a26186c0ab827db9c6.tar.gz
PrismLauncher-c7fdfb811669a863606dc0a26186c0ab827db9c6.tar.bz2
PrismLauncher-c7fdfb811669a863606dc0a26186c0ab827db9c6.zip
Merge pull request #330 from DioEgizio/notportable
bring back not portable windows builds
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml25
1 files changed, 22 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ac181079..4aa316f4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,10 +27,22 @@ 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
@@ -122,11 +134,18 @@ jobs:
run: |
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -G Ninja
- - name: Configure CMake on Windows
- if: runner.os == 'Windows'
+ - 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 }} -G Ninja
+ cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -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
- name: Configure CMake on Linux
if: runner.os == 'Linux'