File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and tests (ARM)
2+
3+ on :
4+ # Ignore changes in extra plugins (as they are not tested here)
5+ push :
6+ paths-ignore :
7+ - ' extra_plugins/**'
8+ pull_request :
9+ paths-ignore :
10+ - ' extra_plugins/**'
11+
12+ jobs :
13+ test :
14+ runs-on : ubuntu-24.04-arm
15+ name : Build and run tests on ARM
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Build on Ubuntu 24.04
19+ run : |
20+ sudo apt-get update
21+ sudo apt-get -y install git gcc g++ cmake make libxml2-dev liblz4-dev libzstd-dev
22+ sudo apt-get -y install python3-docutils zlib1g-dev pkg-config
23+ sudo apt-get -y install librdkafka-dev
24+
25+ # clone libfds
26+ git clone --branch master https://github.com/CESNET/libfds.git libfds_build
27+
28+ # build libfds
29+ cd libfds_build
30+ mkdir build
31+ cd build
32+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
33+ make
34+ sudo make install
35+ cd ../..
36+
37+ # build ipfixcol2
38+ mkdir build
39+ cd build
40+ cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=1
41+ make
42+ sudo make install
43+
44+ # run ipfixcol2 tests
45+ make test
46+
47+ # try to run ipfixcol2
48+ ipfixcol2 -V
49+ ipfixcol2 -h
50+ ipfixcol2 -L -v
You can’t perform that action at this time.
0 commit comments