Commit Graph
20 Commits
Author SHA1 Message Date
vhaudiquet 8250a0e3b1 ci: publish the crate to crates.io on a v* tag
CI / build (push) Successful in 3m15s
CI / test (push) Skipped
CI / publish (push) Skipped
CI / snap (push) Failing after 7m34s
Trusted publishing is GitHub-Actions-only, so authentication goes
through a crates.io API token stored as the CARGO_REGISTRY_TOKEN
secret, scoped to the pkh crate. The job gates on the build job and
fails loudly when the tag does not match the version in Cargo.toml,
since cargo publish ships the declared version regardless of the
tag name.
2026-09-21 23:14:27 +02:00
vhaudiquet a7d2cfdc6e ci: pin upload-artifact to v3
CI / build (push) Successful in 2m57s
CI / test (push) Skipped
CI / snap (push) Successful in 4m29s
v4's GHES check refuses to run on any non-github.com server, so the
snap artifact upload always failed on gitea; v3 uses the artifact API
gitea implements.
2026-09-18 18:07:54 +02:00
vhaudiquet ff635b305b ci: install nodejs in the snap job so JS-based actions can run
CI / build (push) Successful in 2m55s
CI / test (push) Skipped
CI / snap (push) Failing after 4m19s
2026-09-18 16:33:16 +02:00
vhaudiquet e2d201d815 ci: tryfix snap building
CI / build (push) Successful in 2m45s
CI / test (push) Skipped
CI / snap (push) Failing after 27s
2026-08-22 21:20:44 +02:00
vhaudiquet c1079d43be ci: split build and test jobs, disable tests
CI / build (push) Successful in 2m43s
CI / test (push) Skipped
CI / snap (push) Failing after 17s
The test suite is too heavy for the current CI infra (CPU/RAM
exhaustion), so it must not run alongside lint/build feedback.

- add a dedicated test job (needs: build) running runtime deps
  install, subuid/subgid setup and 'cargo test'
- share the compiled target/ dir and cargo caches between both jobs
  via actions/cache keyed on the commit sha, so the test job only
  compiles the test binaries
- disable the test job with 'if: false' until infra can handle it;
  re-enable by removing that line
- snap: bump upload-artifact v3 -> v4 (v3 is decommissioned) and
  checkout to v6
- update images to ubuntu:26.04
2026-08-22 13:54:01 +02:00
vhaudiquet 62ce4e3696 deb: remove sbuild build mode
CI / build (push) Successful in 8m15s
CI / snap (push) Successful in 3m28s
2026-07-24 14:32:47 +02:00
vhaudiquet b2d89ead7e snap: ensure action runs on host
CI / build (push) Successful in 17m7s
CI / snap (push) Successful in 3m57s
2026-01-26 17:48:05 +01:00
vhaudiquet 88ec82c0a0 snap: try running ci on host
CI / build (push) Successful in 15m46s
CI / snap (push) Has been cancelled
2026-01-26 17:21:26 +01:00
vhaudiquet 9ffedb4d1a snap: switch ci action used to build snap
CI / build (push) Successful in 17m3s
CI / snap (push) Failing after 10s
2026-01-26 16:49:55 +01:00
vhaudiquet 97a78336fa snap: build a devmode test snap (in ci)
CI / build (push) Failing after 9m26s
CI / snap (push) Has been skipped
2026-01-26 14:02:38 +01:00
vhaudiquet 2f43ed1597 ci: fix clippy
CI / build (push) Successful in 9m7s
2026-01-11 12:22:00 +01:00
vhaudiquet 182cc086c0 ci: install clippy
CI / build (push) Has been cancelled
2026-01-11 12:18:19 +01:00
vhaudiquet 650adc28a3 pull: split into package_info::lookup and pull
CI / build (push) Failing after 1m47s
2026-01-11 12:12:19 +01:00
vhaudiquetandvhaudiquet b724d46f2c deb: fix concurrent testing (by making them serial)
CI / build (push) Successful in 8m34s
Co-authored-by: Valentin Haudiquet <valentin.haudiquet@canonical.com>
Co-committed-by: Valentin Haudiquet <valentin.haudiquet@canonical.com>
2026-01-11 00:32:03 +00:00
vhaudiquet f3f78ef0e3 ci: update build-depends
CI / build (push) Successful in 8m27s
2026-01-06 18:17:01 +01:00
vhaudiquetandvhaudiquet 1538e9ee19 deb: cross-compilation, ephemeral contexts, local builds
CI / build (push) Successful in 7m18s
Multiple changes:
- New contexts (schroot, unshare)
- Cross-building quirks, with ephemeral contexts and repositories management
- Contexts with parents, global context manager, better lifetime handling
- Local building of binary packages
- Pull: pulling dsc files by default
- Many small bugfixes and changes

Co-authored-by: Valentin Haudiquet <valentin.haudiquet@canonical.com>
Co-committed-by: Valentin Haudiquet <valentin.haudiquet@canonical.com>
2025-12-25 17:10:44 +00:00
vhaudiquet 35eaaaf93a ci: update runtime dependencies
CI / build (push) Successful in 2m5s
2025-12-16 20:19:18 +01:00
vhaudiquet 14b3d6128c ci: added build deps 2025-12-02 20:48:38 +01:00
vhaudiquet 4acb46aa41 ci: added format checker
CI / build (push) Successful in 1m43s
2025-11-30 15:06:09 +01:00
vhaudiquet 2adc547030 ci: first ci test
CI / build (push) Failing after 58s
2025-11-28 15:32:55 +01:00