File tree 1 file changed +50
-0
lines changed
1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : C/C++ CI
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ linux :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - uses : actions/checkout@v1
11
+ - name : make test
12
+ run : make test
13
+
14
+ mac :
15
+ runs-on : macOS-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v1
19
+
20
+ - name : install redis
21
+ run : brew install redis
22
+
23
+ - name : start redis server
24
+ run : brew services start redis
25
+
26
+ - name : make test
27
+ run : make test
28
+
29
+ # # Windows does not work yet, I'm stuck at getting CMake to run + finding vcpkg
30
+ # win:
31
+ # runs-on: windows-2016
32
+ #
33
+ # steps:
34
+ # - uses: actions/checkout@v1
35
+ #
36
+ # - name: run cmake
37
+ # run: |
38
+ # "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
39
+ # mkdir build
40
+ # cd build
41
+ # cmake -DCMAKE_TOOLCHAIN_FILE=%VCPKG_INSTALLATION_ROOT%\scripts\buildsystems\vcpkg.cmake -DUSE_WS=1 -DUSE_TEST=1 -DUSE_TLS=1 -G"NMake Makefiles" ..
42
+ # - name: build
43
+ # run: |
44
+ # "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
45
+ # cd build
46
+ # nmake
47
+ # - name: run tests
48
+ # run:
49
+ # cd test
50
+ # ..\build\test\ixwebsocket_unittest.exe
You can’t perform that action at this time.
0 commit comments