Skip to content

Commit

Permalink
Try windows CI in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele77 committed Oct 14, 2024
1 parent d3c9394 commit 6fa9491
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/win_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fa9491

Please sign in to comment.