99 workflow_dispatch :
1010
1111env :
12- OPENMS_VERSION : 3.2 .0
12+ OPENMS_VERSION : 3.5 .0
1313 # Define unique GUID for UpgradeCode
1414 APP_UpgradeCode : " 31703de0-3422-444a-a469-8df83635bd6d"
1515 # Define needed TOPP tools here
1616 TOPP_TOOLS : " OpenNuXL"
1717
1818jobs :
1919 build-openms :
20- runs-on : windows-latest
20+ runs-on : windows-2022
2121
2222 steps :
2323 - name : Checkout
2424 uses : actions/checkout@v4
2525 with :
26- repository : Arslan-Siraj/OpenMS # OpenMS/OpenMS
27- ref : feature/NuXL # release/${{ env.OPENMS_VERSION }}
26+ repository : OpenMS/OpenMS
27+ ref : release/${{ env.OPENMS_VERSION }}
2828 path : ' OpenMS'
2929
30- - name : Install Qt
30+ - name : Install Qt (Windows)
3131 uses : jurplel/install-qt-action@v4
3232 with :
33- version : ' 6.2.*' # 5.12.7 is broken https://bugreports.qt.io/browse/QTBUG-81715, > 5.15.2 is not available on official archives (https://github.com/miurahr/aqtinstall/issues/636)
34- host : ' windows' # default: win64_msvc2017_64
35- target : ' desktop'
36- install-deps : ' true'
33+ version : ' 6.8.3' # # Note this version is build with win64_msvc2022_64 and should always match what we use
34+ arch : ' win64_msvc2022_64'
3735 cache : ' false'
38- aqtversion : ' ==3.1.* '
36+ archives : ' qtsvg qtimageformats qtbase '
3937
4038 # https://github.com/marketplace/actions/visual-studio-shell
4139 - name : Set up Visual Studio shell
4644 - name : Setup build tools
4745 shell : bash
4846 run : |
49- choco install ccache ninja cmake
47+ choco install ccache ninja -y --no-progress
48+ choco install cmake --version=3.31.1 -y --no-progress --force
5049 ## GH CLI "SHOULD BE" installed. Sometimes I had to manually install nonetheless. Super weird.
5150 # https://github.com/actions/runner-images/blob/main/images/win/scripts/Installers/Install-GitHub-CLI.ps1
5251 echo "C:/Program Files (x86)/GitHub CLI" >> $GITHUB_PATH
8281 rm contrib_build-Windows.tar.gz
8382 ls
8483
84+ - name : Add contrib to PATH
85+ shell : bash
86+ run : |
87+ # Add contrib library path for runtime DLL resolution
88+ echo "${{ github.workspace }}/OpenMS/contrib/lib" >> $GITHUB_PATH
89+
8590 - name : Setup ccache cache
8691 uses : actions/cache@v4
8792 with :
9398 ${{ runner.os }}-ccache-${{ env.BASE_REF }}
9499 ${{ runner.os }}-ccache-
95100
96- - name : Add THIRDPARTY
101+ - name : Add THIRDPARTY
97102 shell : bash
98103 run : |
99104 # initialize THIRDPARTY
@@ -103,7 +108,7 @@ jobs:
103108 # add third-party binaries to PATH
104109 # use flat THIRDPARTY structure
105110 mkdir -p _thirdparty
106- cp -R OpenMS/THIRDPARTY/Windows/64bit /* _thirdparty/
111+ cp -R OpenMS/THIRDPARTY/Windows/x86_64 /* _thirdparty/
107112 cp -R OpenMS/THIRDPARTY/All/* _thirdparty/
108113 # add third-party binaries to PATH
109114 for thirdpartytool in ${{ github.workspace }}/_thirdparty/*
@@ -115,9 +120,9 @@ jobs:
115120 shell : bash
116121 run : |
117122 mkdir $GITHUB_WORKSPACE/OpenMS/bld/
123+ bash OpenMS/tools/ci/capture-env.sh -v $GITHUB_WORKSPACE/OpenMS/bld/CMakeCache.txt
118124 ctest --output-on-failure -V -S $GITHUB_WORKSPACE/OpenMS/tools/ci/cibuild.cmake
119125 env :
120- # OS_PREFIX_PATH: "${{ env.Qt5_DIR }}/lib/cmake;${{ env.Qt5_DIR }}"
121126 OPENMS_CONTRIB_LIBS : " ${{ github.workspace }}/OpenMS/contrib"
122127 CI_PROVIDER : " GitHub-Actions"
123128 CMAKE_GENERATOR : " Ninja"
@@ -127,6 +132,7 @@ jobs:
127132 ENABLE_TOPP_TESTING : " ON"
128133 ENABLE_CLASS_TESTING : " ON"
129134 WITH_GUI : " OFF"
135+ WITH_PARQUET : " OFF"
130136 ADDRESS_SANITIZER : " Off"
131137 BUILD_TYPE : " Release"
132138 OPENMP : " Off"
@@ -140,24 +146,24 @@ jobs:
140146 CCACHE_COMPRESSLEVEL : 12
141147 CCACHE_MAXSIZE : 400M
142148
143- # - name: Test Windows
144- # shell: bash
145- # run: ctest --output-on-failure -V -S $GITHUB_WORKSPACE/OpenMS/tools/ci/citest.cmake
146- # env:
147- # SOURCE_DIRECTORY: "${{ github.workspace }}/OpenMS"
148- # CI_PROVIDER: "GitHub-Actions"
149- # BUILD_NAME: "${{ env.RUN_NAME }}-Win64-class-topp-${{ github.run_number }}"
149+ - name : Test Windows
150+ shell : bash
151+ run : ctest --output-on-failure -V -S $GITHUB_WORKSPACE/OpenMS/tools/ci/citest.cmake
152+ env :
153+ SOURCE_DIRECTORY : " ${{ github.workspace }}/OpenMS"
154+ CI_PROVIDER : " GitHub-Actions"
155+ BUILD_NAME : " ${{ env.RUN_NAME }}-Win64-class-topp-${{ github.run_number }}"
150156
151- # - name: Package
152- # shell: bash
153- # run: |
154- # ctest --output-on-failure -V -S $GITHUB_WORKSPACE/OpenMS/tools/ci/cipackage.cmake
155- # env:
156- # SOURCE_DIRECTORY: "${{ github.workspace }}/OpenMS"
157- # PACKAGE_TYPE: zip
158- # SEARCH_ENGINES_DIRECTORY: "${{ github.workspace }}/_thirdparty"
159- # CI_PROVIDER: "GitHub-Actions"
160- # CPACK_PACKAGE_FILE_NAME: "openms-package"
157+ - name : Package
158+ shell : bash
159+ run : |
160+ ctest --output-on-failure -V -S $GITHUB_WORKSPACE/OpenMS/tools/ci/cipackage.cmake
161+ env :
162+ SOURCE_DIRECTORY : " ${{ github.workspace }}/OpenMS"
163+ PACKAGE_TYPE : zip
164+ SEARCH_ENGINES_DIRECTORY : " ${{ github.workspace }}/_thirdparty"
165+ CI_PROVIDER : " GitHub-Actions"
166+ CPACK_PACKAGE_FILE_NAME : " openms-package"
161167
162168 - name : Upload package as artifact
163169 uses : actions/upload-artifact@v4
@@ -174,11 +180,11 @@ jobs:
174180 ${{ github.workspace }}/_thirdparty/Percolator/**
175181
176182 build-executable :
177- runs-on : windows-latest
183+ runs-on : windows-2022
178184 needs : build-openms
179185
180186 env :
181- PYTHON_VERSION : 3.11 .0
187+ PYTHON_VERSION : 3.10 .0
182188 APP_NAME : OpenMS-NuXLApp
183189
184190 steps :
@@ -191,9 +197,9 @@ jobs:
191197 name : openms-package
192198 path : openms-package
193199
194- # - name: List files in openms-package
195- # run: |
196- # ls -R openms-package
200+ - name : List files in openms-package
201+ run : |
202+ ls -R openms-package
197203
198204 - name : Extract bin and share from package
199205 run : |
0 commit comments