test cache
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 20s
Gentoo Utils / build (push) Successful in 28s
Gentoo Utils / grep (push) Successful in 4s
Gentoo Utils / check-format (push) Successful in 54s
Gentoo Utils / docs (push) Successful in 57s
Gentoo Utils / test (push) Successful in 1m17s
Gentoo Utils / fuzz (push) Successful in 2m10s
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 20s
Gentoo Utils / build (push) Successful in 28s
Gentoo Utils / grep (push) Successful in 4s
Gentoo Utils / check-format (push) Successful in 54s
Gentoo Utils / docs (push) Successful in 57s
Gentoo Utils / test (push) Successful in 1m17s
Gentoo Utils / fuzz (push) Successful in 2m10s
This commit is contained in:
@@ -91,20 +91,22 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||||
steps:
|
steps:
|
||||||
- name: Restore git cache
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: build
|
|
||||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
|
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: build and check
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized -Ddocs=enabled build
|
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized -Ddocs=enabled build
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
|
|
||||||
|
- name: Cache Build + Subprojects
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
subprojects
|
||||||
|
build
|
||||||
|
key: build-${{ gitea.repository }}-${{ gitea.sha }}
|
||||||
|
|
||||||
# FIXME: Currently this rebuilds everything. Instead we should bring over the build dir from the build job. This will come in handy
|
# 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
|
# when we have multiple build targets and configs. What we have currently is fine until we get lots of builds going
|
||||||
test:
|
test:
|
||||||
@@ -117,10 +119,13 @@ jobs:
|
|||||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||||
steps:
|
steps:
|
||||||
- name: Restore git cache
|
- name: Restore git cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: build
|
path: |
|
||||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
|
subprojects
|
||||||
|
build
|
||||||
|
key: gitea-repo-${{ gitea.repository }}-${{ gitea.sha }}
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
@@ -141,10 +146,12 @@ jobs:
|
|||||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||||
steps:
|
steps:
|
||||||
- name: Restore git cache
|
- name: Restore git cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: build
|
path: |
|
||||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
|
subprojects
|
||||||
|
build
|
||||||
|
key: gitea-repo-${{ gitea.repository }}-${{ gitea.sha }}
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
@@ -169,13 +176,21 @@ jobs:
|
|||||||
|
|
||||||
check-format:
|
check-format:
|
||||||
runs-on: gentoo
|
runs-on: gentoo
|
||||||
needs: [build-oci-image]
|
needs: [build-oci-image, build]
|
||||||
container:
|
container:
|
||||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Restore git cache
|
||||||
|
uses: actions/cache/restore@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
subprojects
|
||||||
|
build
|
||||||
|
key: gitea-repo-${{ gitea.repository }}-${{ gitea.sha }}
|
||||||
|
|
||||||
- name: Check Formatting
|
- name: Check Formatting
|
||||||
run: |
|
run: |
|
||||||
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
|
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
|
||||||
@@ -184,7 +199,7 @@ jobs:
|
|||||||
|
|
||||||
docs:
|
docs:
|
||||||
runs-on: gentoo
|
runs-on: gentoo
|
||||||
needs: [build-oci-image]
|
needs: [build-oci-image, build]
|
||||||
container:
|
container:
|
||||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user