Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/dhcpd_host_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Host-side regression test for the DHCPD lease bookkeeping.
# It compiles components/net/lwip-dhcpd/dhcp_server_raw.c against the lwIP /
# RT-Thread stubs in components/net/lwip-dhcpd/test/mock.

name: dhcpd_host_test

on:
push:
paths:
- 'components/net/lwip-dhcpd/**'
- '.github/workflows/dhcpd_host_test.yml'
pull_request:
paths:
- 'components/net/lwip-dhcpd/**'
- '.github/workflows/dhcpd_host_test.yml'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
lease-test:
runs-on: ubuntu-22.04
name: DHCPD lease host test
if: github.repository_owner == 'RT-Thread'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Build and run the DHCPD lease host test
working-directory: components/net/lwip-dhcpd/test
run: make run
Loading
Loading