Commit Graph

45 Commits (655070a01416b280ac2bfdad5369cc28bb8d1058)

Author SHA1 Message Date
Tommie Gannert d39f4ad267 Upgrades workflows.
De-duplicates the Ubuntu version/codename specs to simplify adding distributions.
2024-05-17 12:00:37 +02:00
tommie 6b9130dcf6
Adds Ubuntu 24.04/noble.
Some DEB822 files are replacing the old sources.list files, which required fixes for cross-compiling environments. The Azure package cache only contains amd64/i386 binaries, but the GitHub images don't restrict them.
2024-05-17 11:39:31 +02:00
tommie 58c46577ae Changes to using container runners and fixes the cross-builds.
This is the easiest path to supporting building for non-LTS
distributions. It would also allow us to build properly for Debian.

* Removes the invalid readme from server/Cargo.toml. The file doesn't
  exist, causing Cargo builds to fail.
* Skips cross builds for missing archs.
* Skips cross-build test if the corresponding distribution isn't part
  of the workflow.
* When using /etc/apt/apt-mirrors.txt with arch filters, something
  seems to be causing apt-get to go into an infinte loop, despite
  downloading things.
* Bumps raspio_lite:latest to jammy, since the current one is based on Debian Bookworm.
2024-01-05 18:39:51 +01:00
Tommie Gannert c4a45291c6 Ignores DEBs that are already in the repo.
This is needed when adding architectures for an existing version.
2023-07-30 15:11:05 +02:00
Tommie Gannert 94e4d95122 Adds builds for armhf and arm64 architectures.
This also refactors the workflow a bit to only run the reprepro job
once, for all DEBs.

Since cross-builds are scary, this also adds a QEMU test job for
them, to ensure they can be installed and the binary can execute.

The two build jobs are kept separate, even if they have lots of
overlap, so that testing can start without waiting for native builds.

Thanks to

* @bensteinberg for providing his build script.
* https://github.com/kornelski/cargo-deb#cross-compilation
* https://github.com/marketplace/actions/arm-runner

Closes #2.
2023-07-30 14:45:32 +02:00
tommie c619e5a837
Increases the Release job delay to 1m.
30s is not enough.
2023-06-16 15:47:43 +02:00
tommie c6bda67b91
And again! 2023-05-15 17:23:15 +02:00
tommie 25c2986631
Avoids using matrix where it doesn't exist. 2023-05-15 17:20:48 +02:00
tommie 44582aca61
Avoids matrix.os-is-empty errors. 2023-05-15 17:19:44 +02:00
tommie 628441ba28
Adds ubuntu prefix. 2023-05-12 16:28:29 +02:00
tommie d6ffba3a65
Translates versions to codenames.
More trial-n-error with GitHub actions.
2023-05-12 16:25:01 +02:00
tommie 0762632d32
Dynamic matrix
https://github.com/actions/runner/issues/1985
https://github.com/orgs/community/discussions/37883
2023-05-12 16:08:56 +02:00
tommie 07a2e4f8e3
More attempts at conditional syntax...
The GitHub reference is not great...
2023-05-12 15:58:59 +02:00
tommie c19529c5a8
Conditionals syntax fixes.
Maybe this is more right?
2023-05-12 15:55:51 +02:00
tommie fbe6d1f79c
Attempts to fix output variable collisions.
GitHub actions outputs don't jive well with matrices for `runs-on`. They overwrite without warning. Switch to running update checks in a singleton job, and then add which distros need updating.
2023-05-12 15:54:06 +02:00
tommie 374b27c0cd
Checks for the distro-specific versions. 2023-05-12 15:23:32 +02:00
tommie 76f14a529f
Updates GitHub actions dependencies. 2023-05-12 15:21:21 +02:00
tommie eb6579c665
Adds a delay after push. 2023-05-12 15:11:21 +02:00
tommie acbf9d3d6e Add building for ubuntu focal. 2023-05-12 10:10:54 +02:00
tommie ce9f009e3a
Getting it right...
... one quote at a time.
2023-03-20 18:05:33 +01:00
tommie 1a9640b286
Escape backticks.
Really, I did escape them, and then I removed the sed command and replaced it, and forgot to re-add it. Seriously.
2023-03-20 18:04:05 +01:00
tommie 4551e3b3ff
Fixes version comparison. 2023-03-20 18:01:42 +01:00
tommie 23f35227a6
Fixes showing of job outputs. 2023-03-20 17:59:36 +01:00
tommie e128d955d9
Show job outputs from check-upstream. 2023-03-20 17:54:26 +01:00
tommie 98d7be7315
Makes check-upstream check out the repository. 2023-03-20 17:37:50 +01:00
tommie e2e7bf8b17
Fixes reprepro path in check-repo-release. 2023-03-20 17:35:28 +01:00
tommie 52c408ce34
First checks for new releases.
It's annoying that reprepro includedeb fails if there is an existing release. If we're fixing that, we might as well not build if there is no need.
2023-03-20 17:33:34 +01:00
tommie 06416df138
Attempts to fix the bot commit message. 2023-02-17 16:01:55 +01:00
tommie 72f13c98cb
Reverts to using the workspace root.
GitHub Actions generally have bad support for changing directories.
2023-02-17 15:51:29 +01:00
tommie 49e40f0e43
Set --manifest-path. 2023-02-17 15:29:35 +01:00
tommie bb37f269f9
Rust toolchain stable.
This is supposed to be the default, but it errs out without it.
2023-02-17 15:18:38 +01:00
tommie 06dcd39dae
Removes Accept: application/octet-stream. 2023-02-17 15:17:10 +01:00
tommie 9efa33a2d0
Fix typo. 2023-02-17 15:15:02 +01:00
tommie bc0eef18dd
Experiment with building the .deb packages.
Innernet no longer builds the .deb packages, so this repository is meaningless as-is.
2023-02-17 15:13:44 +01:00
Tommie Gannert 897b0fa9a3 Enables scheduled and push-triggered updates. 2021-09-11 13:38:55 +02:00
Tommie Gannert 04eef6748b Signing attempt #5. 2021-09-11 13:21:31 +02:00
Tommie Gannert 236a5ea3ed Signing attempt #4. 2021-09-11 13:19:43 +02:00
Tommie Gannert 43883b4aea Trigger re-export. 2021-09-11 13:16:10 +02:00
Tommie Gannert d0e5235b1c Signing attempt #3. 2021-09-11 13:10:59 +02:00
Tommie Gannert 2603331b51 Signing attempt #3. 2021-09-11 13:06:31 +02:00
Tommie Gannert fa4f8b9286 Signing attempt #2. 2021-09-11 13:01:30 +02:00
Tommie Gannert 74cbf30147 Adds support for signing. 2021-09-11 12:32:50 +02:00
Tommie Gannert 05092efae1 Specifies ref at push. 2021-09-11 11:51:17 +02:00
Tommie Gannert 7c1f4740d6 Adds sudo for apt-get. 2021-09-11 11:39:59 +02:00
Tommie Gannert 29272e175d Initial commit of addlatest, workflow and configuration. 2021-09-11 11:37:29 +02:00