From c0801a8aedb1172cbbb3c5d19d7337df38b77e52 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 2 Oct 2021 19:58:30 +0200 Subject: [PATCH] Added codec2 to the windows CI --- .github/workflows/build_all.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index f273203c..69cb280c 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -35,6 +35,15 @@ jobs: - name: Install SDRPlay API run: 7z x ${{runner.workspace}}/SDRPlay.zip -o"C:/Program Files/" + - name: Download codec2 + run: git clone https://github.com/drowe67/codec2 + + - 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" + + - name: Build codec2 + run: cd codec2/build ; C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64 -c "ninja" + - name: Install vcpkg dependencies run: vcpkg install fftw3:x64-windows glew:x64-windows glfw3:x64-windows portaudio:x64-windows