Relioncross

Deployment

Partly proven. On the Forgejo runner the check and build jobs pass: formatting, clippy and tests, then static amd64 and arm64 binaries. The container image and the tagged release jobs have not been run yet, so no release or image exists. The names below are what they are set up to produce.

Static binary

Release builds are static musl executables for Linux amd64 and arm64 with no runtime dependencies. On Apple Silicon you can build natively with cargo build --release -p relioncross. There is no Wine, Windows or x86 emulation involved anywhere.

Container image

The image is built FROM scratch: just the binary, a default config at /etc/relioncross.yaml, an empty /state volume and a /data directory. It runs as a non-root user (65534) and is published for linux/amd64 and linux/arm64.

docker run --rm \
  -p 2302:2302/udp -p 8080:8080 \
  -v /path/to/Freelancer:/data/freelancer:ro \
  -v relioncross-state:/state \
  git.grey.ooo/freelancer/relioncross:latest

CI pipeline

Forgejo Actions, in .github/workflows/ci.yml of the Relioncross repository:

  1. Check on every push and pull request: formatting, clippy and tests.
  2. Build on main and v* tags: static binaries for x86_64 and arm64, verified static, with SHA-256 sums, uploaded as artifacts.
  3. Container image from those binaries, with no emulation needed: tagged main, or the version and latest on a tag.
  4. Release on a tag: creates a release with the binaries attached.

The repository needs a runner label in the variable DOCKER_RUNNER and two secrets, REGISTRY_TOKEN and RELEASE_TOKEN. Without a Docker runner the image step is skipped rather than left queued.

Relioncross is unofficial and not affiliated with Microsoft or the IONCROSS community. It contains no Microsoft or IONCROSS files; bring your own copy of Freelancer.