Improve actions pipeline #12

Merged
moritz merged 9 commits from modernize-pipeline into master 2024-05-01 09:23:13 +00:00
Showing only changes of commit 3acefc8b07 - Show all commits

View File

@@ -38,11 +38,14 @@ jobs:
echo "=== End dependency package version ==="
- name: setup builddir
run: meson setup builddir -Db_coverage=true
- name: build all targets
run: ninja -C builddir
- name: run unit tests
run: ninja -C builddir test
- name: build and test dist package
run: ninja -C builddir dist
- name: calculate coverage
run: ninja -C builddir coverage-text
- name: Coverage report
run: cat ./builddir/meson-logs/coverage.txt
- name: upload dist package
uses: actions/upload-artifact@v4
with:
name: ptprnt
path: ./builddir/meson-dist/ptprnt-*.{.xz,sha256sum}