Use statically linked spdlog over system spdlog/libfmt
Some checks failed
Build ptprnt / build (push) Has been cancelled

This commit is contained in:
2025-10-19 11:50:43 +02:00
parent 8865117c49
commit ff3fcaa7bf
7 changed files with 67 additions and 27 deletions

View File

@@ -14,7 +14,7 @@ jobs:
- name: install meson
run: apt-get -yq install meson
- name: Install build dependencies
run: apt-get -yq install libusb-1.0-0-dev libspdlog-dev libfmt-dev libpango1.0-dev libcairo2-dev gcovr
run: apt-get -yq install libusb-1.0-0-dev libpango1.0-dev libcairo2-dev gcovr
- name: get build environment versions
run: |
echo "=== Start meson version ==="
@@ -32,25 +32,19 @@ jobs:
echo "=== Start dependency package version ==="
apt-cache policy libpango1.0-dev
apt-cache policy libcairo2-dev
apt-cache policy libfmt-dev
apt-cache policy libspdlog-dev
apt-cache policy libusb-1.0-0-dev
echo "=== End dependency package version ==="
- name: setup builddir
run: meson setup builddir -Db_coverage=true
- name: run unit tests
run: ninja -C builddir test
- name: calculate coverage
run: ninja -C builddir coverage-text
- name: Build ptprnt debug
run: scripts/build.sh debug --coverage --test
- name: Coverage report
run: cat ./builddir/meson-logs/coverage.txt
- name: build and test dist package
run: ninja -C builddir dist
- name: upload dist package
run: cat ./builddir-debug/meson-logs/coverage.txt
- name: build and release
run: scripts/build.sh release
- name: upload release binary
uses: actions/upload-artifact@v3
with:
name: ptprnt
path: ./builddir/meson-dist/*
path: ./builddir/ptprnt
if-no-files-found: error
- name: upload coverage report
uses: actions/upload-artifact@v3