From fb9bbcb158c1707271d9c77ddb93d6deb549d528 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 2 Oct 2021 20:04:14 +0200 Subject: [PATCH] Fixed windows CI --- .github/workflows/build_all.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 69cb280..02e775e 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -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"