beyond-all-reason / beyond-all-reason/RecoilEngine

Engine artifacts build via docker should be runnable without `install`

Open
#2,747 0 comments 0 reactions 0 assignees View on GitHub
area: devops/gitops
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

Instead of just running `spring`/`spring.exe` executable from build output, the build scripts always runs `install` step and asks user to use output in `{builddir}/install/`.

This is:
- error prone
- install is fast, but it's still unnecessary delay

The minimal thing I see is that the paths in [specially generated](https://github.com/beyond-all-reason/RecoilEngine/blob/67736294de14eac8fb068dbda0f4dcbe20dfb306/cont/CMakeLists.txt#L42) `{builddir}/springsettings.cfg` map to locations inside of container, not on host:
```
SpringData = /build/out:/build/src/cont
FontFile = /build/src/cont/fonts/FreeSansBold.otf
SmallFontFile = /build/src/cont/fonts/FreeSansBold.otf
```

Contributor guide

Open the contributing guide

Research direction

Start with cont/CMakeLists.txt at the linked generated springsettings.cfg section and inspect the Docker build scripts that invoke install. Check how the /build/out and /build/src/cont paths are exposed to the host, then verify that the executable from build output runs without the install step and that its generated settings resolve correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, docker
Domain
build-system, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.