CI: add -mbig-obj compilation option for MinGW build

This commit is contained in:
Alexey Ochapov 2021-06-17 21:29:04 +03:00
parent 4611528bb8
commit ae9cfb17bd
No known key found for this signature in database
GPG Key ID: 9DC52E8F031B8DA8

View File

@ -21,7 +21,7 @@ jobs:
with: with:
platform: ${{ matrix.architecture }} platform: ${{ matrix.architecture }}
- name: cmake - name: cmake
run: cmake -S . -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On run: cmake -S . -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On -DCMAKE_CXX_FLAGS=-Wa,-mbig-obj
- name: build - name: build
run: cmake --build build --parallel 10 run: cmake --build build --parallel 10
- name: test - name: test