Continuous delivery for Debian stable and i686-w64-mingw32 #11

Merged
xavi merged 12 commits from cd into main 2025-01-13 16:22:44 +01:00
Owner

Overview

This PR improves upon the existing CI to automatically generate artifacts for Debian stable and i686-w64-mingw32 (aka 32-bit Windows). In the case of i686-w64-mingw32, a cross-built version of makensis is used to generate the Windows installers from a Debian-based Docker image.

Finally, artifacts are uploaded to our self-hosted slcl at https://files.speed-dreams.net/ , using the repository secrets as authentication tokens.

Tasks

## Overview This PR improves upon the existing CI to automatically generate artifacts for Debian `stable` and `i686-w64-mingw32` (aka 32-bit Windows). In the case of `i686-w64-mingw32`, a cross-built version of [`makensis`](http://nsis.sourceforge.net/) is used to generate the Windows installers from a Debian-based Docker image. Finally, artifacts are uploaded to our self-hosted [`slcl`](https://gitea.privatedns.org/xavi/slcl) at https://files.speed-dreams.net/ , using the [repository secrets](https://forge.a-lec.org/speed-dreams/speed-dreams-code/settings/actions/secrets) as authentication tokens. ## Tasks - [x] Debian packaging - [x] [`speed-dreams-data`](https://forge.a-lec.org/speed-dreams/speed-dreams-data/commit/5c58ce805dd223fa155e329de0c6258c6aeea1e5) - ~Write tags as `<major>.<minor>.<patch>` instead of `v<major>.<minor>.<patch>` so that `CPACK_PACKAGE_NAME` can be determined with default values and still be DFSG-compliant.~ - By default, [`CPACK_PACKAGE_VERSION`](https://cmake.org/cmake/help/latest/module/CPack.html#variable:CPACK_PACKAGE_VERSION) (as consumed by `CPACK_PACKAGE_NAME`) does not take [`CMAKE_PROJECT_VERSION_TWEAK`](https://cmake.org/cmake/help/latest/variable/CMAKE_PROJECT_VERSION_TWEAK.html) into account. - [x] NSIS packaging - [x] Compile NSIS compiler from [Docker image](https://forge.a-lec.org/speed-dreams/docker-env) - [x] https://forge.a-lec.org/speed-dreams/nsis-docker
xavi added 2 commits 2025-01-06 21:10:12 +01:00
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.
These get reflected by the web browser interface, enhancing readability.
xavi changed title from WIP continuous delivery to WIP: continuous delivery 2025-01-06 21:10:27 +01:00
xavi force-pushed cd from 58e229593c to 0fb9839feb 2025-01-06 21:13:09 +01:00 Compare
xavi force-pushed cd from 0fb9839feb to c83650dd28 2025-01-06 21:16:10 +01:00 Compare
xavi force-pushed cd from c83650dd28 to 3ae39cbec7 2025-01-06 21:18:34 +01:00 Compare
xavi added 5 commits 2025-01-06 23:33:24 +01:00
Until version 2.4.0 is not released, it is better to keep it as 2.3.0
since `git describe --tags --dirty` would return `v2.3.0-...` until the
`v2.4.0` tag is created.
This is later used by CPack for its CPACK_PACKAGE_HOMEPAGE_URL.

[1]: https://cmake.org/cmake/help/latest/module/CPack.html#variable:CPACK_PACKAGE_HOMEPAGE_URL
build.yml: Build Debian package
All checks were successful
/ build (pull_request) Successful in 17m4s
c8c5d2abf8
xavi force-pushed cd from c8c5d2abf8 to b21543a5fe 2025-01-07 00:24:24 +01:00 Compare
xavi added 1 commit 2025-01-08 22:39:53 +01:00
build.yml: Upload Debian package
All checks were successful
/ build (pull_request) Successful in 16m23s
19a87b4418
xavi force-pushed cd from 19a87b4418 to 86ac588c44 2025-01-12 10:55:41 +01:00 Compare
xavi force-pushed cd from 86ac588c44 to 13c014339a 2025-01-12 11:23:25 +01:00 Compare
xavi force-pushed cd from 13c014339a to 5ed954575e 2025-01-12 21:20:20 +01:00 Compare
xavi force-pushed cd from 5ed954575e to ac84aee672 2025-01-12 21:52:40 +01:00 Compare
xavi force-pushed cd from ac84aee672 to 590258f1b8 2025-01-12 21:55:17 +01:00 Compare
xavi force-pushed cd from 590258f1b8 to 90607305e3 2025-01-12 22:08:01 +01:00 Compare
xavi force-pushed cd from 90607305e3 to b1ade37229 2025-01-12 22:14:08 +01:00 Compare
xavi force-pushed cd from b1ade37229 to 9560b05b7b 2025-01-12 22:19:25 +01:00 Compare
xavi force-pushed cd from 9560b05b7b to cd9fce6a3e 2025-01-12 22:21:09 +01:00 Compare
xavi force-pushed cd from cd9fce6a3e to a6d1c38c67 2025-01-12 22:48:26 +01:00 Compare
xavi force-pushed cd from a6d1c38c67 to b4662b65b9 2025-01-13 07:38:11 +01:00 Compare
xavi changed title from WIP: continuous delivery to Continuous delivery for Debian and i686-mingw32 2025-01-13 16:16:50 +01:00
xavi changed title from Continuous delivery for Debian and i686-mingw32 to Continuous delivery for Debian stable and i686-w64-mingw32 2025-01-13 16:20:34 +01:00
xavi merged commit 13b6fc1457 into main 2025-01-13 16:22:44 +01:00
xavi deleted branch cd 2025-01-13 16:22:44 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: speed-dreams/speed-dreams-code#11
No description provided.