1 Commits

Author SHA1 Message Date
d8d5fd4495 ci: fix build cache path
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 22s
Gentoo Utils / grep (push) Successful in 5s
Gentoo Utils / build (push) Successful in 29s
Gentoo Utils / check-format (push) Successful in 9s
Gentoo Utils / docs (push) Successful in 19s
Gentoo Utils / test (push) Successful in 28s
Gentoo Utils / fuzz (push) Successful in 1m19s
2025-12-27 16:13:04 -06:00

View File

@@ -94,8 +94,6 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v6
# TODO: This is currently unused by other jobs. I couldn't make meson not regenerate things regardless of
# the build dir already existing.
- name: Build Cache Setup
uses: actions/cache@v5
with:
@@ -117,13 +115,21 @@ jobs:
env:
CC: "clang"
CXX: "clang++"
needs: [build-oci-image]
needs: [build-oci-image, build]
container:
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
steps:
- name: Checkout repo
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
run: |
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized -Ddocs=enabled build
@@ -136,13 +142,20 @@ jobs:
CC: "clang"
CXX: "clang++"
FUZZER_TIMEOUT_S: 300
needs: [build-oci-image]
needs: [build-oci-image, build]
container:
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
steps:
- name: Checkout repo
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?
# needed because portage has fixes upstream we need that arent stable yet
- name: Checkout tip of portage
@@ -164,13 +177,21 @@ jobs:
check-format:
runs-on: gentoo
needs: [build-oci-image]
needs: [build-oci-image, build]
container:
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
steps:
- name: Checkout repo
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
run: |
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
@@ -179,13 +200,21 @@ jobs:
docs:
runs-on: gentoo
needs: [build-oci-image]
needs: [build-oci-image, build]
container:
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
steps:
- name: Checkout repo
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
run: |
meson setup -Ddocs=enabled docs