Compare commits
1 Commits
1a67e0145c
...
ac6d24df85
| Author | SHA1 | Date | |
|---|---|---|---|
| ac6d24df85 |
@@ -16,13 +16,13 @@ jobs:
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- name: Restore git cache
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: .git
|
||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -91,8 +91,14 @@ jobs:
|
||||
container:
|
||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||
steps:
|
||||
- name: Restore Git Cache
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: .git
|
||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
@@ -100,7 +106,7 @@ jobs:
|
||||
meson compile -C build
|
||||
|
||||
- name: Cache Build + Subprojects
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: |
|
||||
subprojects
|
||||
@@ -118,7 +124,17 @@ jobs:
|
||||
container:
|
||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||
steps:
|
||||
|
||||
- name: Restore git cache
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: .git
|
||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Restore build cache
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: |
|
||||
@@ -126,9 +142,6 @@ jobs:
|
||||
build
|
||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.sha }}
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: test
|
||||
run: |
|
||||
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized -Ddocs=enabled build
|
||||
@@ -145,16 +158,22 @@ jobs:
|
||||
container:
|
||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||
steps:
|
||||
- name: Restore git cache
|
||||
- name: Restore Git Cache
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: .git
|
||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Restore Build Cache
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: |
|
||||
subprojects
|
||||
build
|
||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.sha }}
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
|
||||
# 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
|
||||
@@ -180,10 +199,16 @@ jobs:
|
||||
container:
|
||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
- name: Restore Git Cache
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: .git
|
||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
|
||||
|
||||
- name: Restore git cache
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Restore Build Cache
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: |
|
||||
@@ -203,8 +228,14 @@ jobs:
|
||||
container:
|
||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||
steps:
|
||||
- name: Restore Git Cache
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: .git
|
||||
key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }}
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Build Documentation
|
||||
run: |
|
||||
@@ -218,7 +249,7 @@ jobs:
|
||||
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: grep for patterns
|
||||
# negate git grep ret code because 1 means no findings
|
||||
|
||||
Reference in New Issue
Block a user