-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use vcpkg for Linux CI #7316
base: master
Are you sure you want to change the base?
Use vcpkg for Linux CI #7316
Conversation
Can't we just use qt from apt for now? |
No, Ubuntu 20.04 only has Qt 5.12 available through |
Ok i understand now. I believe using system qt might reduce steps. 22.04 (or 24) should contain the version anyway so I thought it would be better to defer qt upgrade to the system upgrade for now. |
There's no real reason to put it off when it can be done now, especially since Linux is the only platform that isn't on Qt 5.15 yet. |
Okk then |
Would it makes sense to fix this properly? |
The unused variable warnings were for static variables defined in the vorbis header, and defining |
I would like to test the working before approval. Might take some days as I'm busy with exams. |
Currently experiencing this linker error on the MSVC builds:
I wonder if it would happen on master too if it ever had a cache miss and had to rebuild the vcpkg packages. |
I think it's unrelated. Also since you encountered it, I wanna tell you that MSVC error messages are a PITA to deal with, with not enough information to fix it. If this is indeed related, i would suggest you gpt it out. |
Because they stash lines longer than 127 characters into
Yeah I'm confused by the CI logs... is it a bad cache that it's trying to build with? |
No, a while back I think I deleted the MSVC vcpkg cache for my fork (called The error may be related to this upstream update for lilv, lv2, sord, and serd back in December: microsoft/vcpkg#42537 I'm pretty sure if LMMS/lmms's vcpkg cache were to be deleted, the same build errors would occur over there. |
Unlike most of our dependencies, lilv uses Meson and doesn't provide a CMake target. We are using the .pc pkg-config file to locate it and link it. So I think I'll try creating a |
This PR moves the Linux CI builds away from our custom Ubuntu 20.04 images to a plain Ubuntu 20.04 runner with vcpkg.
deps-ubuntu-22.04-gcc.txt
as a living document of (almost) all required system dependenciesQt
: 5.12.8 --> 5.15.2 (all CI builds use 5.15.x now)libsndfile
: 1.0.28 --> 1.2.2 (enables opus and mp3 support)fluidsynth
: 2.1.1 --> 2.3.5libsamplerate
: 0.1.9 --> 0.2.2qt5-x11embed
submodule to fix deprecation warning which was treated as an error (Avoid deprecated QFlags constructor lukas-w/qt5-x11embed#6)I will try to do MinGW builds with vcpkg next.