-
Notifications
You must be signed in to change notification settings - Fork 154
38 lines (37 loc) · 1.57 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: macchina.io-ci
on: [push]
jobs:
ubuntu-2204-gcc-make:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt update && sudo apt install libssl-dev python-is-python3
- name: Build
run: make -s -j`nproc` TESTS=1 SAMPLES=1 ASAN=1 DEFAULT_TARGET=shared_release
- name: Run tests
run: >-
cp platform/Foundation/testsuite/bin/Linux/x86_64/TestApp platform/Foundation/testsuite &&
cd platform &&
CPPUNIT_IGNORE="
CppUnit::TestCaller<RawSocketTest>.testEchoIPv4,
CppUnit::TestCaller<RawSocketTest>.testSendToReceiveFromIPv4,
CppUnit::TestCaller<ICMPClientTest>.testPing,
CppUnit::TestCaller<ICMPClientTest>.testBigPing,
CppUnit::TestCaller<ICMPSocketTest>.testSendToReceiveFrom,
CppUnit::TestCaller<ICMPSocketTest>.testAssign,
CppUnit::TestCaller<ICMPSocketTest>.testMTU,
CppUnit::TestCaller<NTPClientTest>.testTimeSync,
CppUnit::TestCaller<HTTPSClientSessionTest>.testProxy,
CppUnit::TestCaller<HTTPSStreamFactoryTest>.testProxy"
EXCLUDE_TESTS="Data/MySQL Data/ODBC Data/PostgreSQL MongoDB"
PATH=$PATH:.
build/script/runtests.sh
macos-clang-make:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: brew install openssl@3 [email protected]
- name: Build
- run: PATH=/usr/local/opt/[email protected]/libexec/bin:$PATH make -s -j`sysctl -n hw.ncpu` DEFAULT_TARGET=shared_release