Skip to content

*: cleanup

*: cleanup #163

Workflow file for this run

name: build-win
on: [push, pull_request]
jobs:
windows:
timeout-minutes: 60
runs-on: windows-latest
strategy:
matrix:
generator: [Visual Studio 17 2022]
mode: [-DUVW_BUILD_SHARED_LIB=ON, -DUVW_BUILD_LIBS=ON, -DUVW_BUILD_LIBS=OFF]
steps:
- uses: actions/checkout@v4
- name: Compile tests
working-directory: build
run: |
cmake -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE ${{ matrix.mode }} -DUVW_BUILD_TESTING=ON -Dlibuv_buildtests=OFF -DCMAKE_CXX_FLAGS=/W1 -G"${{ matrix.generator }}" ..
cmake --build . -j 2