diff --git a/.github/workflows/build-windows-executable-app.yaml b/.github/workflows/build-windows-executable-app.yaml index a5cf0eb3..33633c1b 100644 --- a/.github/workflows/build-windows-executable-app.yaml +++ b/.github/workflows/build-windows-executable-app.yaml @@ -2,7 +2,7 @@ name: Build executable for Windows on: push: - branches: [ "main", "TaggerViewerDeploy"] + branches: [ "main", "TaggerViewerDeploy", "debug"] pull_request: branches: [ "main", "TaggerViewerDeploy"] @@ -136,6 +136,14 @@ jobs: echo $thirdpartytool >> $GITHUB_PATH done + - name: Configure CMake + run: | + cmake -B ${{ github.workspace }}/OpenMS/bld/ -S ${{ github.workspace }}/OpenMS \ + -DCMAKE_INSTALL_OPENMP_LIBRARIES=TRUE \ + -DCMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION='bin' \ + -DCMAKE_BUILD_TYPE=Release + shell: bash + - name: Build Windows shell: bash run: | @@ -165,6 +173,11 @@ jobs: CCACHE_COMPRESSLEVEL: 12 CCACHE_MAXSIZE: 400M + - name: Install system libraries + run: | + cmake --install ${{ github.workspace }}/OpenMS/bld/ --component SystemLibraries + shell: bash + #- name: Test Windows # shell: bash # run: $LAUNCHER ctest --output-on-failure -V -S $GITHUB_WORKSPACE/OpenMS/tools/ci/citest.cmake