3 Commits

Author SHA1 Message Date
449800c1c7 blah
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 7m48s
Gentoo Utils / grep (push) Successful in 2s
Gentoo Utils / build (push) Successful in 1m20s
Gentoo Utils / test (push) Successful in 32s
Gentoo Utils / fuzz (push) Successful in 1m13s
Gentoo Utils / check-format (push) Successful in 21s
Gentoo Utils / docs (push) Successful in 21s
2025-12-21 08:08:30 +00:00
ee0e90e9c6 blah
Some checks failed
Gentoo Utils / build-oci-image (push) Successful in 9s
Gentoo Utils / build (push) Failing after 4s
Gentoo Utils / test (push) Has been skipped
Gentoo Utils / check-format (push) Failing after 3s
Gentoo Utils / docs (push) Failing after 3s
Gentoo Utils / grep (push) Successful in 2s
Gentoo Utils / fuzz (push) Has been skipped
2025-12-21 08:07:11 +00:00
9002d19a40 port to meson cargo
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 7m41s
Gentoo Utils / grep (push) Successful in 1m23s
Gentoo Utils / docs (push) Successful in 1m34s
Gentoo Utils / check-format (push) Successful in 1m37s
Gentoo Utils / build (push) Successful in 1m44s
Gentoo Utils / test (push) Successful in 36s
Gentoo Utils / fuzz (push) Successful in 1m19s
Use the new unstable meson cargo support. This simplifies the
meson.build script and allows to use crates such as clap that require
picking up features from Cargo.toml.

This also allows us to not embed thiserror in subprojects, and instead
use a wrap file with a custom meson.build and some patches to make it
compile without running its build.rs script.
2025-12-21 07:57:41 +00:00

View File

@@ -89,7 +89,7 @@ jobs:
image_tag: ${{ steps.image-changes.outputs.image_tag }}
build:
runs-on: gentoo
runs-on: brutalisk
env:
CC: 'clang'
CXX: 'clang++'
@@ -102,13 +102,15 @@ jobs:
- name: build and check
run: |
sha1sum /usr/lib/python3.13/site-packages/mesonbuild/cargo/interpreter.py
sha1sum /usr/lib/python3.13/site-packages/mesonbuild/modules/rust.py
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized -Ddocs=enabled build
meson compile -C build
# FIXME: Currently this rebuilds everything. Instead we should bring over the build dir from the build job. This will come in handy
# when we have multiple build targets and configs. What we have currently is fine until we get lots of builds going
test:
runs-on: gentoo
runs-on: brutalisk
env:
CC: 'clang'
CXX: 'clang++'
@@ -126,7 +128,7 @@ jobs:
ninja test -C build
fuzz:
runs-on: gentoo
runs-on: brutalisk
env:
CC: 'clang'
CXX: 'clang++'
@@ -158,7 +160,7 @@ jobs:
continue-on-error: true
check-format:
runs-on: gentoo
runs-on: brutalisk
needs: [build-oci-image]
container:
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
@@ -173,7 +175,7 @@ jobs:
ninja rustfmt -C build
docs:
runs-on: gentoo
runs-on: brutalisk
needs: [build-oci-image]
container:
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
@@ -187,7 +189,7 @@ jobs:
ninja rustdoc -C docs
grep:
runs-on: gentoo
runs-on: brutalisk
needs: [build-oci-image]
container:
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}