Commit graph

13 commits

Author SHA1 Message Date
022b19a141
Remove simuv2.1, add FreeSOLID as a submodule
As opposed to simu >= 3.0, simu 2.1 did not consider air or wheel
temperatures. This would have several consequences:

- Some drivers such as shadow rely on these parameters to calculate tire
grip. If temperature air is zero (i.e., 0K), no grip is assumed
and therefore speeds are also assigned to zero, making the driver not to
move at all.

- Invalid temperature values (i.e., 0K) would be shown on the UI, both
in ssg and OSG.

Unfortunately, simuv2.1 bundled the SOLID-2.0 library (aka FreeSOLID)
because the library is not available from most GNU/Linux distributions
yet.

In order to solve this situation, the FreeSOLID library was migrated
from CVS to Git [1] so it could be used as a submodule, and therefore
let the build system decide whether to optionally use the in-tree copy.
That said, packaging/3rdParty-devel has dropped FreeSOLID in favour of
the submodule, since it must always be built from source anyway.

[1]: https://forge.a-lec.org/speed-dreams/freesolid
2025-01-27 00:46:06 +01:00
d4a9605286
build-3rdparty.yml: Fix repo branch name
${{ env.GITHUB_HEAD_REF }} is not available to workflow_dispatch [1],
so the branch name must be manually extracted from
${{ env.GITHUB_EVENT_PATH }}.

[1]: https://forgejo.org/docs/latest/user/actions/#env-1
2025-01-26 17:45:58 +01:00
db9e17eadc
build-deb.yml: Set up matrix for debian and ubuntu 2025-01-24 00:50:01 +01:00
8cb2219134
build-w64-mingw32.yml: Clone repository recursively
Now that speed-dreams-data is provided as a submodule, this workflow can
package a NSIS installer that contains both code and data.
2025-01-15 07:16:39 +01:00
b4662b65b9
Introduce w64-mingw32 workflows
- build-3rdparty.yml cross-builds all third-party dependencies for
Windows. This workflow is meant to be run only sparingly, since
it fetches source code from many repositories and takes a long time to
build.

- build-w64-mingw32.yml cross-builds the game engine and tools for
Windows. It requires a pre-existing build of the third-party libraries.
2025-01-13 00:07:07 +01:00
44429fab1f
build-deb.yml: Upload Debian package 2025-01-13 00:07:07 +01:00
3bb02a188c
build-deb.yml: Build Debian package 2025-01-13 00:07:07 +01:00
fa12517208
build-deb.yml: Fetch whole history
Otherwise, git-describe(1) would fail and it would not be possible to
tag the artifacts accordingly.
2025-01-13 00:07:06 +01:00
bb6f43d124
build-deb.yml: Do not report git clone progress
Progress information is noisy and therefore does not provide any
benefits to the CI/CD logs.
2025-01-13 00:07:06 +01:00
f822312fdb
build-deb.yml: Add step names
These get reflected by the web browser interface, enhancing readability.
However, splitting into different steps requires to specify the working
directory.
2025-01-13 00:07:06 +01:00
3567f775d2
build-deb.yml: Change indentation from 4 to 2 spaces
Even if most of the project follows the 4-space convention, 2 spaces
seems more comfortable for YAML files, specially for workflows where
deeper levels of indentations are common.
2025-01-13 00:07:06 +01:00
e9bd5b2ff8
Rename build.yml to build-deb.yml
This workflow will be dedicated to Debian packaging only.
2025-01-13 00:07:06 +01:00
17f37e85ad
Add build.yml Forgejo workflow 2025-01-04 13:00:28 +01:00