aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-03-21 19:11:55 +0100
committerGitHub <noreply@github.com>2022-03-21 19:11:55 +0100
commit2741c58a01bbc0c8d1f8768299cfcf0ebf3fb275 (patch)
tree72301766b6c260375cec6ac86451fbce8e2f532b /.github/workflows
parent64399dd8d619d1a515a72abd06ed47c9c34b94c4 (diff)
downloadPrismLauncher-2741c58a01bbc0c8d1f8768299cfcf0ebf3fb275.tar.gz
PrismLauncher-2741c58a01bbc0c8d1f8768299cfcf0ebf3fb275.tar.bz2
PrismLauncher-2741c58a01bbc0c8d1f8768299cfcf0ebf3fb275.zip
bring back notportable builds
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml23
1 files 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'