2020-05-21 18:01:50 +02:00
|
|
|
name: windows
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- 'docs/**'
|
2021-08-13 14:07:24 +02:00
|
|
|
pull_request:
|
2020-05-21 18:01:50 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
windows:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- uses: seanmiddleditch/gha-setup-vsdevenv@master
|
2020-12-26 21:44:06 +01:00
|
|
|
- uses: seanmiddleditch/gha-setup-ninja@master
|
2020-05-21 18:01:50 +02:00
|
|
|
- run: |
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2021-03-20 18:18:10 +01:00
|
|
|
cmake -GNinja -DCMAKE_CXX_COMPILER=cl.exe -DCMAKE_C_COMPILER=cl.exe -DUSE_WS=1 -DUSE_TEST=1 -DUSE_ZLIB=OFF -DBUILD_SHARED_LIBS=OFF ..
|
2020-12-26 21:44:06 +01:00
|
|
|
- run: |
|
|
|
|
cd build
|
|
|
|
ninja
|
|
|
|
- run: |
|
|
|
|
cd build
|
|
|
|
ninja test
|
2020-08-01 07:54:57 +02:00
|
|
|
|
|
|
|
#- run: ../build/test/ixwebsocket_unittest.exe
|
|
|
|
# working-directory: test
|