Windows/Mac/Linux builds #1
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tepichord/gloom-godot-templates#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Get builds working for release on Windows, Mac, and Linux
Hosted a teamcity-agent that can run podman containers from this repo: https://git.gloom.garden/tepichord/mac-teamcity-podman-agent
I then started following this guide for setting up godot-ci on teamcity: https://blog.jetbrains.com/teamcity/2024/10/automating-godot-game-builds-with-teamcity/
However after a long period of debugging I am taking a break after the build step kept failing because it said it was creating a container but it couldn't find it shortly after. Likely it's failing to create the container because of some error happening when trying to run with
--platform linux/amd64Had Deepseek try to install qemu-user-static and binfmt-support then set it up in an entrypoint.sh file so the podman container could run different platform architectures. I could tell that this was probably a dead-end but I humored it anyways.
Got it working by simply rebooting the host machine, the full solution is simply
sudo dnf install qemu-user-static,sudo reboot, and then setup the teamcity agent like normal. I'd also recommend installing podman globally which I did through homebrew but would also be good through NixOS. Although there are now additional steps to take to ensure that the agent can export a windows build. A export_presets.cfg file needs to be created for each of the platforms we'd like a build for.