* win only * disable ixcrypto mbedtls search on windows * ws cmakefile do not search for openssl * ci builds files on top of cmaking * ci builds files on top of cmaking / syntax tweak * use gha-setup-vsdevenv syntax * build fix and hacks * try to run unittest on win * try to run unittest on win (syntax error) * unittest wip * wip * wip again * wip again (working-directory) * cleanup * dumb compile error
33 lines
681 B
YAML
33 lines
681 B
YAML
name: unittest
|
|
on: [push]
|
|
|
|
jobs:
|
|
linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: make test
|
|
run: make test
|
|
|
|
mac:
|
|
runs-on: macOS-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: make test
|
|
run: make test
|
|
|
|
win:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: seanmiddleditch/gha-setup-vsdevenv@master
|
|
- run: |
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_CXX_COMPILER=cl.exe -DUSE_WS=1 -DUSE_TEST=1 ..
|
|
- run: cmake --build build
|
|
|
|
# Running the unittest does not work
|
|
#- run: ../build/test/ixwebsocket_unittest.exe
|
|
# working-directory: test
|