Compare commits
1 Commits
7b0c67e9ea
...
7159b3fd0f
| Author | SHA1 | Date | |
|---|---|---|---|
| 7159b3fd0f |
@@ -94,6 +94,8 @@ jobs:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# TODO: This is currently unused by other projects. I couldn't make meson not regenerate things regardless of
|
||||
# the build dir already existing.
|
||||
- name: Build Cache Setup
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
@@ -122,16 +124,9 @@ jobs:
|
||||
- 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
|
||||
meson compile -C build
|
||||
ninja test -C build
|
||||
|
||||
@@ -148,13 +143,6 @@ jobs:
|
||||
- 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
|
||||
@@ -169,7 +157,7 @@ jobs:
|
||||
run: |
|
||||
source ./portage/.venv/bin/activate
|
||||
which emerge
|
||||
[ -d build ] || meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
|
||||
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
|
||||
meson compile atom_parser_fuzzer:alias -C build
|
||||
timeout 10m ./scripts/atom_parser_fuzz.sh
|
||||
continue-on-error: true
|
||||
@@ -183,17 +171,9 @@ jobs:
|
||||
- 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: |
|
||||
[ -d build ] || meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
|
||||
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
|
||||
meson format --check-only --recursive
|
||||
ninja rustfmt -C build
|
||||
|
||||
@@ -206,18 +186,10 @@ jobs:
|
||||
- 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: |
|
||||
[ -d build ] || meson setup -Ddocs=enabled build
|
||||
ninja rustdoc -C build
|
||||
meson setup -Ddocs=enabled docs
|
||||
ninja rustdoc -C docs
|
||||
|
||||
grep:
|
||||
runs-on: gentoo
|
||||
|
||||
Reference in New Issue
Block a user