Fixed windows CI

This commit is contained in:
AlexandreRouma 2021-10-02 20:04:14 +02:00
parent c0801a8aed
commit fb9bbcb158

View File

@ -38,6 +38,9 @@ jobs:
- name: Download codec2
run: git clone https://github.com/drowe67/codec2
- name: Prepare MinGW
run: C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64 -c "pacman --noconfirm -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja"
- name: Prepare build for codec2
run: cd codec2 ; mkdir build ; cd build ; C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64 -c "cmake .. -DCMAKE_GNUtoMS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-static-libgcc"