-
Notifications
You must be signed in to change notification settings - Fork 1
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
Continuing improvements to continuous integration #6
Comments
I really like appveyor, it has Qt preinstalled and the syntax is a lot easier than everything else. Setting the names is possible through a somewhat hacky workaround: environment variables can be set by printing a special string (something like The preview for the upload artifact is usable as of yesterday, so we could start using it. |
I really don't want to maintain 2 different CI configurations when it isn't necessary. If we switch to AppVeyor exclusively, including using it for MacOS (available since ~Nov 2019)...
Can you try adding MacOS builds and creating GitHub releases and uploading artifacts to AppVeyor to see how easy it is? And I'll try cleaning up the GitHub actions script using v2-preview for uploading and downloading artifacts. Then we can re-evaluate which one is best. I'll work on this in the AudioCapture app so we don't collide our GitHub releases. |
I made some progress in the AudioCapture app. It's a fair bit shorter and the yml file is now generic so it should work in any multi-platform app without editing. I'm still getting a ghost "Unspecified" target being built for MacOS and there are some bugs with packaging (though it still seems to upload the artifact ok 🤷♂ ). https://github.com/labstreaminglayer/App-AudioCapture/blob/master/.github/workflows/cppcmake.yml |
For liblsl I like having several options, but for the apps I agree.
Even with
The question isn't whether Appveyor or Github Actions is better, but if we'd rather have developers struggling with the OAuth+Github integration or the Github Actions syntax.
The |
The bzip file is empty.
It's only
I'm not very good with CPack but I'll try and track this down. If you have any ideas then let me know. |
The culprit is this line: However, the archive it creates is called So what are those lines intended to do? They seem like they are there for liblsl, not for the applications. |
Then there's an install part that doesn't produce any output. I'll keep it in mind for the time the department Mac is back.
The first part is unsurprising; without the component install, everything is put into one package so the component information isn't used for anything. The second part is unexpected, but a clue. Does adding
I'm currently in the home office so I can't test it right now but IIRC the |
I just encountered an admittedly very esoteric problem. libqt5gamepad5-dev is not available in Ubuntu 18.04 bionic. I can only build the Gamepad app if I link to a custom qt5 install (either from qt maintenance tool with Note, my cmake command also had So, when I finally call cmake to build for target
The CPACK_DEBIAN_PACKAGE_SHLIBDEPS docs suggest that it can find local libs if they are on the RPATH. One solution to my problem is to upgrade my system to Ubuntu 20.04 and try to get github actions to run on ubuntu focal. Edit: indeed this works. But another potential solution that is more general might be to delay changing the RPATH until after |
|
The Ubuntu 20.04 build works. It's not like there are many Linux users clamoring for a Gamepad app and can only use Ubuntu 18.04. Even then, they could probably get it to work on 18.04 with a custom Qt installation. So I'll leave the Gamepad app as is. But this problem will pop up again anytime someone makes an app that links a library that is neither on their system PATH or the modified RPATH (./ & ../LSL/lib). A custom Qt version is just one example, but I guess some other SDKs might be similar. |
I recently updated the GitHub Actions yaml. The current behaviour is as follows:
'v'
(e.g., v1.13.0), build, then create release and upload packages to release.I'm fairly happy with this though I think there are a couple things that should be improved.
The second problem has a couple potential solutions.
upload-artifact
with: path:
.upload-artifact
anddownload-artifact
actions are in preview for v2 which will support file globbing. I don't know what the syntax will be when that comes, but presumably we can just provide some wildcards (build/*.7z) and we don't have to worry about the package name.softprops/action-gh-release
with: files:
.The text was updated successfully, but these errors were encountered: