From 6fa94915eb221bf4340328415e1d558a1a6a4c88 Mon Sep 17 00:00:00 2001 From: Daniele Pallastrelli <5451767+daniele77@users.noreply.github.com> Date: Mon, 14 Oct 2024 22:55:13 +0200 Subject: [PATCH] Try windows CI in github actions --- .github/workflows/win_ci.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/win_ci.yml b/.github/workflows/win_ci.yml index e6c4bda..eb57118 100644 --- a/.github/workflows/win_ci.yml +++ b/.github/workflows/win_ci.yml @@ -16,22 +16,14 @@ jobs: - name: Install Boost run: choco install boost-msvc-14.1 -# - name: Install ASIO standalone -# run: | -# curl -L -o asio.zip https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-18-2.zip -# tar -xf asio.zip -# move asio-asio-1-18-2 asio -# - - name: Install Asio with vcpkg - uses: microsoft/vcpkg-action@v1 - with: - # Configura le opzioni di vcpkg - buildtype: release - args: install asio + - name: Install ASIO standalone + run: | + curl -L -o asio.zip https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-18-2.zip + tar -xf asio.zip + move asio-asio-1-18-2 asio - name: Configure CMake - # run: cmake -S . -B build -DASIO_INCLUDEDIR=${GITHUB_WORKSPACE}/asio/asio/include -DCLI_BuildTests=ON -DCLI_BuildExamples=ON -DCLI_UseBoostAsio=ON - run: cmake -S . -B build -DCLI_BuildTests=ON -DCLI_BuildExamples=ON -DCLI_UseBoostAsio=ON + run: cmake -S . -B build -DASIO_INCLUDEDIR=${{ github.workspace }}/asio/asio/include -DCLI_BuildTests=ON -DCLI_BuildExamples=ON -DCLI_UseBoostAsio=ON - name: Build run: cmake --build build --config Release