Repository navigation
Using vcpkg in main CI pipeline - #9927
Conversation
|
@pjones Would you please check and guide this PR? |
|
@castorNova2 nice. How large is the cache, though? |
Depends on OS. linux arm64 and macOS often have around 400MB and 700MB. linux (clang and gcc) has around 700MB. And for windows it is 1.1GB to 1.4 GB. All this without ONNX runtime. With ONNX runtime, expect the increase in size of cache by 60 to 75 percent. Also similar increase in configure time. From my observation, Local build often have different sizes of cache size compared to Github CI. |
5ef98d9 to
a116d70
Compare
|
@castorNova2 I'm running the release process on this branch over here. I want to make sure the installers still build correctly. |
…l rsync in windows
|
UPDATE: Disregard. I see that you've already fixed this. @castorNova2 the release workflow if failing on all platforms with the following error: This happens when running cd build || exit 1
cmake_options=(
"-DPACKAGE_TYPE=$PACKAGE_TYPE"
"-DSEARCH_ENGINES_DIRECTORY=$GITHUB_WORKSPACE/_thirdparty"
)
if [[ -n "$HAVE_APPLE_CERT" ]] && [[ "$HAVE_APPLE_CERT" == "true" ]]; then
cmake_options+=(
"-DSIGNING_IDENTITY=$SIGNING_IDENTITY"
"-DSIGNING_EMAIL=$SIGNING_EMAIL"
"-DCPACK_PRODUCTBUILD_IDENTITY_NAME=$CPACK_PRODUCTBUILD_IDENTITY_NAME"
)
fi
cmake "${cmake_options[@]}" ..
if ! ninja dist; then
if [[ "$RUNNER_OS" == "Windows" ]]; then
cat _CPack_Packages/win64/NSIS/NSISOutput.log
fi
exit 1
fi |
This commit changes the dependency scripts so they no longer install libraries that are actually built from vcpkg.
52db975 to
e7e2297
Compare
|
Nightly release workflow works on all platforms but Windows. However, Windows is only failing because of the required built time exceeds the GitHub maximum. I am also working on getting this branch to work with pyopenms-wheels-cibuildwheel. This is not a requirement for GSoC but I don't want to merge while this is broken. |
1c93a55 to
1f517f4
Compare
|
Python wheels built successfully. Just waiting on the Windows machine in the release workflow to finish. |
|
Update: The release workflow is working, but the rsync cache action wasn't able to push the vcpkg cache due to a malformed SSH key. I just pushed two changes to the rsync cache action:
I'm running a new release workflow right now. |
|
First release job completed (Ubuntu on ARM) and it pushed to the |
|
Everything is building now! The Windows runner failed to upload the vcpkg cache because |
290e521 to
675d704
Compare
Also, macOS ships with a version of rsync that is too old.
675d704 to
fda0ba8
Compare
cdc3e84 to
264e017
Compare
…9958) Adds entries for two recently merged PRs whose CHANGELOG checklist item was left unchecked: #9927 (main CI build/test workflow switched to vcpkg) and #9928 (new vcpkg dependency-management guide). Co-authored-by: Claude <[email protected]>
Description
Switches main CI build from contrib/system to vcpkg for dependency management, per vcpkg integration (#9511 and #9800) which are already merged. Mirrors OpenMS Vcpkg Ci (openms_vcpkg_ci.yml) workflow's approach.
Changes:
cmake -G Ninja -DOPENMS_CONTRIB_LIBS=... -DPYOPENMS=ON ...invocation withcmake --preset <preset>andcmake --build --preset <preset>, using vcpkg aware presets already defined in CMakePresets.json and resolved in build.action.yml viaResolve CMake presetsstep.ctest --preset <preset>instead of--test-dir-build.Checklist
How can I get additional information on failed tests during CI
Click to expand
If your PR is failing you can check outIf you click in the column that lists the failed tests you will get detailed error messages.
Advanced commands (admins / reviewer only)
Click to expand
/reformat(experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.rebuild jenkinswill retrigger Jenkins-based CI buildsSummary by CodeRabbit
Build & CI
Dependencies