-
Notifications
You must be signed in to change notification settings - Fork 6
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
Investigation on Github actions tests runs on Windows and MacOS #51
Comments
Info on all runners available for github actions, this includes ubuntu, windows and macOS: Latest versions with links to build-in tools for each OS:
|
@vermeulendivan do you know if there are QGIS docker images supported in the mentioned runners? |
@Samweli Tested Windows, getting error that OS not supported on this image: For MacOS, it seems to be more complex. Docker is NOT installed on MacOS: https://github.com/orgs/community/discussions/25777 because of some licensing issues (more actions/runner-images#17). Looking into working around this. Because macos is also unix-based, maybe the image will work here? I have no idea, have no knowledge of macos and have never used it before. The console commands seems to be the same! Will add more info as I continue |
More on why its not in macos: actions/runner-images#2150.
|
@Samweli After a learning some basics of docker, which helped, and a lot of struggle, I thought I want to give you feedback. Here is how to set up qgis in a linux container: https://docs.qgis.org/3.28/en/docs/server_manual/containerized_deployment.html. But this is mostly useless for a Windows container as the console commands will be useless in windows. Windows docker images:
Just some info on Windows containers: https://learn.microsoft.com/en-us/virtualization/windowscontainers/ So I did get something working after with a Dockerfile. But it came with a lot of problems and difficulties and pre-requisites:
This needs to be run in Windows to activate Hyper-V:
Oky, but that is only running the Windows image on its own, no Dockerfile yet. So lets get to that:
|
We need to develop workflow that will enable running plugin tests on GitHub actions under Windows and macOS images, currently there are already known ways for one to use GitHub actions tests runs for QGIS plugins using linux based OS images.
This is part of efforts that will enable extensive plugin testing during development and deployment that will ensure plugin reliability during usage across multiple platforms.
See QGIS Animation Workbench and QGIS STAC Browser for examples on how to current run GitHub actions tests runs with QGIS images for the Ubuntu OS.
The text was updated successfully, but these errors were encountered: