Skip to content

Commit 6b8d7ef

Browse files
committed
Update hdtn_test_workflow.yml
1 parent b967fe4 commit 6b8d7ef

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

.github/workflows/hdtn_test_workflow.yml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,102 @@ jobs:
5454
# cd build
5555
# ./tests/integrated_tests/integrated-tests
5656

57+
oracle-x64-test:
58+
runs-on: [self-hosted, oracle, x64]
59+
60+
steps:
61+
- uses: actions/checkout@v3
62+
63+
- name: Display Test Start
64+
run: |
65+
echo "============================================================="
66+
echo "Run #${GITHUB_RUN_NUMBER}"
67+
echo "Run ID: ${GITHUB_RUN_ID}"
68+
echo "Testing: ${GITHUB_REPOSITORY}"
69+
echo "Triggered by: ${GITHUB_EVENT_NAME}"
70+
echo "Initiated by: ${GITHUB_ACTOR}"
71+
echo "============================================================="
72+
73+
- name: Install Dependencies
74+
run: |
75+
sudo yum install cmake
76+
sudo yum update
77+
sudo dnf install epel-release
78+
sudo yum install boost-devel
79+
sudo yum install zeromq
80+
sudo yum install zeromq-devel
81+
82+
- name: Build HDTN
83+
run: |
84+
export HDTN_SOURCE_ROOT=$PWD
85+
cd $HDTN_SOURCE_ROOT
86+
mkdir build
87+
cd build
88+
cmake -DCMAKE_BUILD_TYPE=Release .. -D ENABLE_OPENSSL_SUPPORT:BOOL=OFF -DBOOST_INCLUDEDIR=/usr/include/boost169 .. -DBOOST_LIBRARYDIR=/usr/lib64/boost169 ..
89+
make -j8
90+
sudo make install
91+
92+
- name: Unit Tests
93+
run: |
94+
export HDTN_SOURCE_ROOT=$PWD
95+
cd $HDTN_SOURCE_ROOT
96+
cd build
97+
./tests/unit_tests/unit-tests
98+
#- name: Integration Tests
99+
# run: |
100+
# export HDTN_SOURCE_ROOT=$PWD
101+
# cd $HDTN_SOURCE_ROOT
102+
# cd build
103+
# ./tests/integrated_tests/integrated-tests
104+
105+
debian-x64-test:
106+
runs-on: [self-hosted, debian, x64]
107+
108+
steps:
109+
- uses: actions/checkout@v3
110+
111+
- name: Display Test Start
112+
run: |
113+
echo "============================================================="
114+
echo "Run #${GITHUB_RUN_NUMBER}"
115+
echo "Run ID: ${GITHUB_RUN_ID}"
116+
echo "Testing: ${GITHUB_REPOSITORY}"
117+
echo "Triggered by: ${GITHUB_EVENT_NAME}"
118+
echo "Initiated by: ${GITHUB_ACTOR}"
119+
echo "============================================================="
120+
121+
- name: Install Dependencies
122+
run: |
123+
sudo apt-get install cmake
124+
sudo apt-get install build-essential
125+
sudo apt-get install libboost-dev libboost-all-dev
126+
sudo apt-get install libzmq3-dev python3-zmq
127+
sudo apt-get install openssl libssl-dev
128+
129+
- name: Build HDTN
130+
run: |
131+
export HDTN_SOURCE_ROOT=$PWD
132+
cd $HDTN_SOURCE_ROOT
133+
mkdir build
134+
cd build
135+
cmake -DCMAKE_BUILD_TYPE=Release ..
136+
make -j8
137+
sudo make install
138+
139+
- name: Unit Tests
140+
run: |
141+
export HDTN_SOURCE_ROOT=$PWD
142+
cd $HDTN_SOURCE_ROOT
143+
cd build
144+
./tests/unit_tests/unit-tests
145+
146+
#- name: Integration Tests
147+
# run: |
148+
# export HDTN_SOURCE_ROOT=$PWD
149+
# cd $HDTN_SOURCE_ROOT
150+
# cd build
151+
# ./tests/integrated_tests/integrated-tests
152+
57153
coverity-test:
58154

59155
runs-on: [self-hosted, Linux, X64, cov-analysis]

0 commit comments

Comments
 (0)