File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -108,13 +108,16 @@ jobs:
108108 - name : build_libzmq_cmake
109109 if : ${{ matrix.libzmqbuild == 'cmake' }}
110110 run : |
111+ if [[ ! ${{ matrix.os }} = 'windows' ]]
112+ then
113+ export CMAKE_CXX_FLAGS="-Wno-error=stringop-truncation -Wno-stringop-overflow"
114+ export CMAKE_C_FLAGS="-Wno-error=stringop-truncation -Wno-stringop-overflow"
115+ fi
111116 cmake -Hlibzmq-${{ matrix.libzmq }} -Blibzmq-build ${{ matrix.platform}} \
112117 -DWITH_PERF_TOOL=OFF \
113118 -DZMQ_BUILD_TESTS=OFF \
114119 -DCMAKE_BUILD_TYPE=Release \
115- -DENABLE_DRAFTS=${{ matrix.drafts }} \
116- -DCMAKE_CXX_FLAGS="-Wno-error=stringop-truncation -Wno-stringop-overflow" \
117- -DCMAKE_C_FLAGS="-Wno-error=stringop-truncation -Wno-stringop-overflow"
120+ -DENABLE_DRAFTS=${{ matrix.drafts }}
118121 cmake --build libzmq-build --config ${BUILDTYPE} -j ${THREADS}
119122 echo "LIBZMQ=${PWD}/libzmq-build" >> ${GITHUB_ENV}
120123
You can’t perform that action at this time.
0 commit comments