Devlogs
Cosmo Rider is available for Linux! High level guide for free automation of Unity cross-platform builds
Hello Riders,
New version is built for Linux platform. Tested on Ubuntu 22.04.2.
Here is high level overview how it was achieved.
I wanted to build a game for Linux platform having Windows as my main OS.
Building
Here I considered 2 options and went with 2nd option (with Github Actions)
1. Building locally with Docker and GameCI images
game.ci/docs/docker
- Pros
- no external services needed to setup
- Cons
- Need extra implementation to upload project on container and to download build from it
- Need extra implementation to Publish to store (Steam, Google Play, App Store...)
2. Building via Github Actions using game-ci steps
github/getting-started
- Pros
- this way everything can be handled including uploading to stores
- Cons
- I had to move my repo to Github, but even free account can have private repositories nowadays
- Github has 500MB storage limit in Actions for free account, so I got a warning after 2 builds of ~300MB 2D game
- I downloaded built artifacts and removed them from Github and warnings gone
Testing game on target platform
Here I considered 3 options and went with 1st option (Linux in VirtualBox)
- Linux in VirtualBox
- install VM how-to-run-ubuntu-desktop
- install Guest additions (for easier interactions from your workstation)
- I get 500 FPS on VM when had 900 FPS when run game on workstation, pretty decent
- In Goggle Cloud virtual-workstation/linux-gpu
- it has trial with 300$ free credit
- Dual OS on workstation (windows + linux) or separate linux machine