-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: run tests on a nftables only system
Signed-off-by: Adrian Reber <[email protected]>
- Loading branch information
1 parent
08b4743
commit 15df0a2
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Nftables bases testing | ||
|
||
on: [push, pull_request] | ||
|
||
# Cancel any preceding run on the pull request. | ||
concurrency: | ||
group: nftables-test-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Remove iptables | ||
run: sudo apt remove -y iptables | ||
- name: Install libnftables-dev | ||
run: sudo scripts/ci/apt-install libnftables-dev | ||
- name: chmod 755 /home/runner | ||
run: sudo chmod 755 /home/runner | ||
- name: Build with nftables network locking backend | ||
run: sudo make -C scripts/ci local COMPILE_FLAGS="NETWORK_LOCK_DEFAULT=NETWORK_LOCK_NFTABLES" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters