From 2628700ea85d0fa560691bac151f582e96609190 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Sat, 24 Apr 2021 22:50:38 +0200 Subject: [PATCH] Added pothos to windows CI 4 --- .github/workflows/build_linux_amd64.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_linux_amd64.yml b/.github/workflows/build_linux_amd64.yml index 94b1e8cd..871e94bc 100644 --- a/.github/workflows/build_linux_amd64.yml +++ b/.github/workflows/build_linux_amd64.yml @@ -36,7 +36,7 @@ jobs: # Note the current convention is to use the -S and -B options here to specify source # and build directories, but this is only available with CMake 3.13 and higher. # The CMake binaries on the Github Actions machines are (as of this writing) 3.12 - run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DOPT_BUILD_SDRPLAY_SOURCE=OFF + run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DOPT_BUILD_SDRPLAY_SOURCE=OFF - name: Build working-directory: ${{runner.workspace}}/build @@ -72,8 +72,12 @@ jobs: run: vcpkg install fftw3:x64-windows glew:x64-windows glfw3:x64-windows - name: Install rtaudio - run: git clone https://github.com/thestk/rtaudio ; cd rtaudio ; mkdir build ; cd build ; cmake .. ; cmake --build . --config Release ; cmake --install . + run: git clone https://github.com/thestk/rtaudio ; cd rtaudio ; mkdir build ; cd build ; cmake .. -G "Visual Studio 15 2017 Win64" ; cmake --build . --config Release ; cmake --install . + + - name: Prepare CMake + working-directory: ${{runner.workspace}}/build + run: cmake "$Env:GITHUB_WORKSPACE" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" -G "Visual Studio 15 2017 Win64" - name: Build working-directory: ${{runner.workspace}}/build - run: cmake .. "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" -G "Visual Studio 15 2017 Win64" + run: cmake --build . --config Release