diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index 96ec76e..20abd5b 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -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: