From 785f9210aa9bc69322a267edb3db00938cb3a9be Mon Sep 17 00:00:00 2001 From: penguin Date: Sat, 27 Dec 2025 13:36:47 -0600 Subject: [PATCH] fix cache --- .gitea/workflows/gentoo-utils.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index 96ec76e..80d3633 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -94,12 +94,7 @@ 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 + - name: Build Cache Setup uses: actions/cache@v5 with: path: | @@ -107,6 +102,12 @@ jobs: 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: