forked from bacnet-stack/bacnet-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
75 lines (73 loc) · 1.79 KB
/
bsc-tests-macos.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: BACNet/SC macos/bsd tests
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
job_bsc_tests_macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
brew install openssl
brew install libwebsockets
- name: Build and run bsc_event test
run: |
cd ./test/ports/bsd/bsc_event
mkdir build
cd build
cmake ..
make
./test_bsc_event
- name: Build and run bvlc-sc test
run: |
cd ./test/bacnet/datalink/bvlc-sc
mkdir build
cd build
cmake ..
make
./test_bvlc-sc
- name: Build and run websockets test
run: |
cd ./test/bacnet/datalink/websockets
mkdir build
cd build
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/[email protected]
make
./test_websockets
- name: Build and run bsc-socket test
run: |
cd ./test/bacnet/datalink/bsc-socket
mkdir build
cd build
cmake ..
make
./test_bsc-socket
- name: Build and run hub-sc test
run: |
cd ./test/bacnet/datalink/hub-sc
mkdir build
cd build
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/[email protected]
make
./test_hub-sc
- name: Build and run bsc-node test
run: |
cd ./test/bacnet/datalink/bsc-node
mkdir build
cd build
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/[email protected]
make
./test_bsc-node
- name: Build and run bsc-datalink test
run: |
cd ./test/bacnet/datalink/bsc-datalink
mkdir build
cd build
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/[email protected]
make
./test_bsc-datalink