2020-02-23 09:44:58 -08:00
|
|
|
name: unittest
|
2020-03-17 08:54:31 -07:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- 'docs/**'
|
2019-09-22 18:45:30 -07:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-03-15 18:38:09 -07:00
|
|
|
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
|
2020-02-07 17:15:16 -08:00
|
|
|
|
2020-03-15 18:38:09 -07:00
|
|
|
# Running the unittest does not work
|
|
|
|
#- run: ../build/test/ixwebsocket_unittest.exe
|
|
|
|
# working-directory: test
|