fix cache
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 20s
Gentoo Utils / build (push) Successful in 28s
Gentoo Utils / check-format (push) Successful in 11s
Gentoo Utils / docs (push) Successful in 19s
Gentoo Utils / test (push) Successful in 34s
Gentoo Utils / fuzz (push) Successful in 1m23s
Gentoo Utils / grep (push) Successful in 5s

This commit is contained in:
2025-12-27 13:36:47 -06:00
parent e8fd001b91
commit 1e2f40a3ba

View File

@@ -16,7 +16,7 @@ jobs:
continue-on-error: true
steps:
- name: Restore git cache
uses: actions/cache@v5
uses: actions/cache@v4
with:
path: .git
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
@@ -94,19 +94,20 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v6
- name: Build
run: |
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized -Ddocs=enabled build
meson compile -C build
- name: Cache Build + Subprojects
uses: actions/cache@v5
- name: Build Cache Setup
uses: actions/cache@v4
with:
path: |
subprojects
build
key: build-${{ gitea.repository }}-${{ gitea.sha }}
- name: Build
run: |
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: