File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Nftables bases testing
2+
3+ on : [push, pull_request]
4+
5+ # Cancel any preceding run on the pull request.
6+ concurrency :
7+ group : nftables-test-${{ github.event.pull_request.number || github.ref }}
8+ cancel-in-progress : ${{ github.ref != 'refs/heads/criu-dev' }}
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-24.04
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Remove iptables
16+ run : sudo apt remove -y iptables; dpkg -l; ls -la /usr/sbin
17+ - name : Build with nftables network locking backend
18+ run : sudo make -C scripts/ci local COMPILE_FLAGS="NETWORK_LOCK_DEFAULT=NETWORK_LOCK_NFTABLES"
Original file line number Diff line number Diff line change @@ -121,8 +121,13 @@ if [ "${CD_TO_TOP}" = "1" ]; then
121121fi
122122
123123export GCOV CC
124+ if [ -z " $COMPILE_FLAGS " ]; then
125+ COMPILE_FLAGS=" V=1"
126+ else
127+ COMPILE_FLAGS=" V=1 $COMPILE_FLAGS "
128+ fi
124129$CC --version
125- time make CC=" $CC " -j4 V=1
130+ time make CC=" $CC " -j4 " $COMPILE_FLAGS "
126131
127132./criu/criu -v4 cpuinfo dump || :
128133./criu/criu -v4 cpuinfo check || :
You can’t perform that action at this time.
0 commit comments