mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 09:57:02 +00:00
CI: Windows: try no BUILD_TYPE
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -133,8 +133,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone --depth=1 https://github.com/gitlost/gs1-syntax-engine && cd gs1-syntax-engine/src/c-lib
|
git clone --depth=1 https://github.com/gitlost/gs1-syntax-engine && cd gs1-syntax-engine/src/c-lib
|
||||||
cmake -B build -A Win32
|
cmake -B build -A Win32
|
||||||
cmake --build build --config $BUILD_TYPE
|
cmake --build build
|
||||||
cmake -E rename build/$BUILD_TYPE/gs1encoders.lib gs1encoders.lib
|
cmake -E rename build/gs1encoders.lib gs1encoders.lib
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
working-directory: build
|
working-directory: build
|
||||||
@@ -205,6 +205,13 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: git config --global --add safe.directory ${GITHUB_WORKSPACE} && cmake -E make_directory build
|
run: git config --global --add safe.directory ${GITHUB_WORKSPACE} && cmake -E make_directory build
|
||||||
|
|
||||||
|
- name: Install zlib
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git clone --depth=1 https://github.com/madler/zlib.git zlib && cd zlib
|
||||||
|
cmake -B build -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DZLIB_BUILD_TESTING=OFF -DZLIB_BUILD_SHARED=OFF -DZLIB_BUILD_MINIZIP=OFF -DZLIB_INSTALL_COMPAT_DLL=OFF
|
||||||
|
cmake --build build --config $BUILD_TYPE
|
||||||
|
|
||||||
- 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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user