File tree Expand file tree Collapse file tree
actions/install-dependencies Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 if : ${{ inputs.clang-tools == 'true' }}
3030 shell : bash
3131 run : |
32- dnf install -y clang clang-tools-extra
32+ dnf install -y clang clang-tools-extra
Original file line number Diff line number Diff line change 3232 uses : ./.github/workflows/build.yml
3333 with :
3434 os : ${{ matrix.os }}
35+ tests :
36+ needs : [build-os-matrix, build]
37+ uses : ./.github/workflows/tests.yml
38+ with :
39+ os : " oraclelinux:9"
3540 rpm-install :
3641 needs : [build-os-matrix, build]
3742 strategy :
Original file line number Diff line number Diff line change 1+ name : tests
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ os :
7+ required : true
8+ type : string
9+
10+ jobs :
11+ tests :
12+ runs-on : ubuntu-latest
13+ container : ${{ inputs.os }}
14+ steps :
15+ - name : Install git
16+ run : dnf install -y git
17+ - name : Check out repository code
18+ uses : actions/checkout@v4
19+ - name : Install dependencies
20+ uses : ./.github/actions/install-dependencies
21+ - name : Install nemea
22+ run : |
23+ dnf copr enable @CESNET/NEMEA-testing
24+ dnf copr enable @CESNET/NEMEA
25+ dnf install -y epel-release
26+ dnf install -y nemea-framework-devel
27+ dnf install -y nemea
28+ dnf install -y procps-ng autoconf
29+ echo PATH=/usr/bin/nemea:$PATH >> $GITHUB_ENV
30+ - name : Compile modules
31+ run : |
32+ cmake -S . -B build -DNM_NG_ENABLE_TESTS=On
33+ make -C build install
34+ - name : Run tests
35+ run : |
36+ echo "Path=$PATH"
37+ make -C build tests
You can’t perform that action at this time.
0 commit comments