File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ os :
7+ required : true
8+ type : string
9+
10+ jobs :
11+ build :
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+ with :
22+ pcap : true
23+ dpdk : true
24+ nfb : true
25+ - name : Mark github workspace as safe
26+ run : git config --system --add safe.directory $PWD
27+ - name : Create build directory
28+ run : mkdir build
29+ - name : Configure CMake
30+ run : |
31+ cd build
32+ cmake3 .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_INPUT_PCAP=ON -DENABLE_INPUT_DPDK=ON -DENABLE_INPUT_NFB=ON -DENABLE_PROCESS_EXPERIMENTAL=ON
33+ - name : make
34+ run : make
35+
You can’t perform that action at this time.
0 commit comments