2021-03-14 21:18:09 +01:00
|
|
|
name: windows_gcc
|
2021-03-14 03:21:46 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- 'docs/**'
|
2021-08-13 14:07:24 +02:00
|
|
|
pull_request:
|
2021-03-14 03:00:32 +01:00
|
|
|
|
|
|
|
jobs:
|
2021-03-14 03:21:46 +01:00
|
|
|
windows:
|
2021-03-14 03:00:32 +01:00
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2021-03-14 03:21:46 +01:00
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- uses: seanmiddleditch/gha-setup-ninja@master
|
2023-11-21 07:28:12 +01:00
|
|
|
- uses: bsergean/setup-mingw@d79ce405bac9edef3a1726ef00554a56f0bafe66
|
2021-03-14 03:21:46 +01:00
|
|
|
- run: |
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2021-03-14 21:23:16 +01:00
|
|
|
cmake -GNinja -DCMAKE_CXX_COMPILER=c++ -DCMAKE_C_COMPILER=cc -DUSE_WS=1 -DUSE_TEST=1 -DUSE_ZLIB=0 -DCMAKE_UNITY_BUILD=ON ..
|
2021-03-14 03:21:46 +01:00
|
|
|
- run: |
|
|
|
|
cd build
|
|
|
|
ninja
|
2021-03-21 18:22:44 +01:00
|
|
|
- run: |
|
|
|
|
cd build
|
2021-03-24 05:07:26 +01:00
|
|
|
ctest -V
|
|
|
|
# ninja test
|
2021-03-14 03:21:46 +01:00
|
|
|
|
|
|
|
#- run: ../build/test/ixwebsocket_unittest.exe
|
|
|
|
# working-directory: test
|