try to build with ninja

This commit is contained in:
Benjamin Sergeant 2020-12-26 11:47:31 -08:00
parent 1ea3bc3666
commit 2663f605f4
7 changed files with 14 additions and 8 deletions

View File

@ -2,7 +2,7 @@ name: linux
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - './**'
jobs: jobs:
linux: linux:

View File

@ -2,7 +2,7 @@ name: linux_asan
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - './**'
jobs: jobs:
linux: linux:

View File

@ -2,7 +2,7 @@ name: mac_tsan_mbedtls
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - './**'
jobs: jobs:
mac_tsan_mbedtls: mac_tsan_mbedtls:

View File

@ -2,7 +2,7 @@ name: mac_tsan_openssl
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - './**'
jobs: jobs:
mac_tsan_openssl: mac_tsan_openssl:

View File

@ -2,7 +2,7 @@ name: mac_tsan_sectransport
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - './**'
jobs: jobs:
mac_tsan_sectransport: mac_tsan_sectransport:

View File

@ -2,7 +2,7 @@ name: uwp
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - './**'
jobs: jobs:
uwp: uwp:

View File

@ -10,11 +10,17 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: seanmiddleditch/gha-setup-vsdevenv@master - uses: seanmiddleditch/gha-setup-vsdevenv@master
- uses: seanmiddleditch/gha-setup-ninja@master
- run: | - run: |
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_CXX_COMPILER=cl.exe -DUSE_WS=1 -DUSE_TEST=1 -DUSE_ZLIB=0 .. cmake -GNinja -DCMAKE_CXX_COMPILER=cl.exe -DUSE_WS=1 -DUSE_TEST=1 -DUSE_ZLIB=0 ..
- run: cmake --build build - run: |
cd build
ninja build
- run: |
cd build
ninja test
#- run: ../build/test/ixwebsocket_unittest.exe #- run: ../build/test/ixwebsocket_unittest.exe
# working-directory: test # working-directory: test