1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-17 18:07:02 +00:00

CI: macos: try qt; free-bsd: try explicit --config Release

This commit is contained in:
gitlost
2025-09-17 03:01:12 +01:00
parent e35a72fd18
commit 469ae97879

View File

@@ -210,13 +210,17 @@ jobs:
shell: bash shell: bash
run: brew install libpng run: brew install libpng
- name: Install Qt5
shell: bash
run: brew install qt5
- name: Install GS1 Syntax Engine - name: Install GS1 Syntax Engine
run: git clone --depth=1 https://github.com/gs1/gs1-syntax-engine && cd gs1-syntax-engine/src/c-lib && make CFLAGS_G='-DEXCLUDE_SYNTAX_DICTIONARY_LOADER' lib && (sudo make install || true) run: git clone --depth=1 https://github.com/gs1/gs1-syntax-engine && cd gs1-syntax-engine/src/c-lib && make CFLAGS_G='-DEXCLUDE_SYNTAX_DICTIONARY_LOADER' lib && (sudo make install || true)
- name: Configure CMake - name: Configure CMake
working-directory: build working-directory: build
shell: bash shell: bash
run: cmake $GITHUB_WORKSPACE -DCMAKE_C_FLAGS='-I /usr/local/include' -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DZINT_TEST=ON -DZINT_STATIC=ON -DZINT_USE_QT=OFF run: cmake $GITHUB_WORKSPACE -DCMAKE_C_FLAGS='-I /usr/local/include' -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DZINT_TEST=ON -DZINT_STATIC=ON
- name: Build - name: Build
working-directory: build working-directory: build
@@ -270,7 +274,7 @@ jobs:
set -e set -e
git config --global --add safe.directory ${GITHUB_WORKSPACE} git config --global --add safe.directory ${GITHUB_WORKSPACE}
cmake -E make_directory build cmake -E make_directory build
cmake -B build -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DZINT_TEST=ON cmake -B build -DCMAKE_BUILD_TYPE=Release -DZINT_TEST=ON
cmake --build build --config $BUILD_TYPE cmake --build build --config Release
cd build cd build
ctest -V -C $BUILD_TYPE ctest -V -C $BUILD_TYPE