File tree 1 file changed +34
-1
lines changed
1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ name: C/C++ CI
3
3
on : [push]
4
4
5
5
jobs :
6
- build :
6
+ build-ubuntu :
7
+ name : Ubuntu/GCC build
7
8
runs-on : ubuntu-latest
8
9
steps :
9
10
- uses : actions/checkout@v3
27
28
run : make
28
29
- name : make check
29
30
run : make check
31
+
32
+ build-macos :
33
+ name : macOS/Clang build
34
+ runs-on : macos-11
35
+ steps :
36
+ - uses : actions/checkout@v3
37
+ - name : deps
38
+ run : |
39
+ brew install msgpack-cxx asio gnutls nettle readline fmt jsoncpp
40
+
41
+ - name : restinio
42
+ run : |
43
+ mkdir restinio && cd restinio \
44
+ && wget https://github.com/aberaud/restinio/archive/e0a261dd8488246a3cb8bbb3ea781ea5139c3c94.tar.gz \
45
+ && ls -l && tar -xzf e0a261dd8488246a3cb8bbb3ea781ea5139c3c94.tar.gz \
46
+ && cd restinio-e0a261dd8488246a3cb8bbb3ea781ea5139c3c94/dev \
47
+ && cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DRESTINIO_TEST=OFF -DRESTINIO_SAMPLE=OFF \
48
+ -DRESTINIO_INSTALL_SAMPLES=OFF -DRESTINIO_BENCH=OFF -DRESTINIO_INSTALL_BENCHES=OFF \
49
+ -DRESTINIO_FIND_DEPS=ON -DRESTINIO_ALLOW_SOBJECTIZER=Off -DRESTINIO_USE_BOOST_ASIO=none . \
50
+ && make -j8 && sudo make install \
51
+ && cd ../../.. && rm -rf restinio
52
+
53
+ - name : cmake
54
+ run : |
55
+ mkdir build && cd build && \
56
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Debug -DOPENDHT_C=On -DOPENDHT_PEER_DISCOVERY=On -DOPENDHT_PYTHON=Off -DOPENDHT_TOOLS=On -DOPENDHT_PROXY_SERVER=On -DOPENDHT_PROXY_CLIENT=On
57
+
58
+ - name : make
59
+ run : make
60
+
61
+ - name : make check
62
+ run : make check
You can’t perform that action at this time.
0 commit comments