1 Commits

Author SHA1 Message Date
7159b3fd0f ci: fix build cache path
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 20s
Gentoo Utils / grep (push) Successful in 4s
Gentoo Utils / test (push) Successful in 32s
Gentoo Utils / build (push) Successful in 28s
Gentoo Utils / check-format (push) Successful in 10s
Gentoo Utils / docs (push) Successful in 17s
Gentoo Utils / fuzz (push) Successful in 1m15s
2025-12-27 17:06:43 -06:00

View File

@@ -94,6 +94,8 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@v6
# TODO: This is currently unused by other projects. I couldn't make meson not regenerate things regardless of
# the build dir already existing.
- name: Build Cache Setup - name: Build Cache Setup
uses: actions/cache@v5 uses: actions/cache@v5
with: with:
@@ -122,16 +124,9 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Restore build cache
uses: actions/cache/restore@v5
with:
path: |
subprojects
build
key: build-${{ gitea.repository }}-${{ gitea.sha }}
- name: test - name: test
run: | run: |
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized -Ddocs=enabled build
meson compile -C build meson compile -C build
ninja test -C build ninja test -C build
@@ -148,13 +143,6 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Restore Build Cache
uses: actions/cache/restore@v5
with:
path: |
subprojects
build
key: build-${{ gitea.repository }}-${{ gitea.sha }}
# FIXME: Get rid of this step when portage has fixes merged? # FIXME: Get rid of this step when portage has fixes merged?
# needed because portage has fixes upstream we need that arent stable yet # needed because portage has fixes upstream we need that arent stable yet
- name: Checkout tip of portage - name: Checkout tip of portage
@@ -169,7 +157,7 @@ jobs:
run: | run: |
source ./portage/.venv/bin/activate source ./portage/.venv/bin/activate
which emerge which emerge
[ -d build ] || meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
meson compile atom_parser_fuzzer:alias -C build meson compile atom_parser_fuzzer:alias -C build
timeout 10m ./scripts/atom_parser_fuzz.sh timeout 10m ./scripts/atom_parser_fuzz.sh
continue-on-error: true continue-on-error: true
@@ -183,17 +171,9 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Restore Build Cache
uses: actions/cache/restore@v5
with:
path: |
subprojects
build
key: build-${{ gitea.repository }}-${{ gitea.sha }}
- name: Check Formatting - name: Check Formatting
run: | run: |
[ -d build ] || meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
meson format --check-only --recursive meson format --check-only --recursive
ninja rustfmt -C build ninja rustfmt -C build
@@ -206,18 +186,10 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Restore Build Cache
uses: actions/cache/restore@v5
with:
path: |
subprojects
build
key: build-${{ gitea.repository }}-${{ gitea.sha }}
- name: Build Documentation - name: Build Documentation
run: | run: |
[ -d build ] || meson setup -Ddocs=enabled build meson setup -Ddocs=enabled docs
ninja rustdoc -C build ninja rustdoc -C docs
grep: grep:
runs-on: gentoo runs-on: gentoo