Commit Graph

73 Commits (58c46577aecce868061aab52f3afc6a11f3a0a58)

Author SHA1 Message Date
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 f9c8d234b2 Adds symlink from Debian 12 (bookworm) to Ubuntu jammy.
Closes #3.
2023-09-01 17:16:02 +02:00
Tommie Gannert 1041c6dde9 Removes the unused addlatest. 2023-07-30 15:36:20 +02:00
Tommie Gannert 6230d096ba Moves Compatibility section later. 2023-07-30 15:35:46 +02:00
Tommie Gannert 60694b8dcf Adds information about architectures to README. 2023-07-30 15:33:56 +02:00
Tommie Gannert 3cddfef500 Adds a workflow status badge. 2023-07-30 15:27:11 +02:00
github-actions[bot] 4a3eff3072 Included release tonarino/innernet@v1.6.0 in focal jammy for arm64 armhf. 2023-07-30 13:18:36 +00: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
github-actions[bot] fb6de5a612 Included release tonarino/innernet@v1.6.0 in jammy. 2023-06-16 13:45:37 +00:00
github-actions[bot] 8071f4ce0e Included release tonarino/innernet@v1.6.0 in focal. 2023-06-15 14:35:33 +00: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 e340d3c62f
Adds a note about Bullseye. 2023-05-13 08:39:15 +02:00
github-actions[bot] 175695d4ad Included release tonarino/innernet@v1.5.5 in focal. 2023-05-12 15:02:28 +00:00
Tommie Gannert e3497f7113 Removes 1.5.5 for focal.
This was probably screwed up and actually built on jammy.
2023-05-12 16:56:49 +02:00
tommie 20c10fbec5
Updates README for new codenames. 2023-05-12 16:46:32 +02:00
github-actions[bot] 6962d68e0d Included release tonarino/innernet@v1.5.5 in jammy. 2023-05-12 14:35:15 +00: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
github-actions[bot] 1ff2086d5a Included release tonarino/innernet@v1.5.5 in focal. 2023-05-12 08:20:18 +00:00
tommie 05a53af003
Merge pull request #1 from tommie/ubuntu-focal
Jammy uses a newer glibc than Bullseye, breaking the packages at runtime. This makes it a bit more robust. Focal should still work on Bullseye.
2023-05-12 10:12:43 +02:00
Tommie Gannert e7ebe5b5a0 Removes dist bullseye and adds focal and jammy.
The ubuntu-latest is using a glibc that is too new for bullseye.
2023-05-12 10:10:54 +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 Gannert 97b4577504 Updates README for the apt-key deprecation. 2023-02-17 16:25:34 +01:00
tommie 06416df138
Attempts to fix the bot commit message. 2023-02-17 16:01:55 +01:00
github-actions[bot] 13a45ebe12 Included release @. 2023-02-17 14:57:21 +00: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