Skip to content

Commit 1fdc6e1

Browse files
committedFeb 22, 2025·
CI: Add daily DAHDI build against linux-next kernel.
* Do a daily build against linux-next, to catch DAHDI Linux breakage against the kernel sooner. * Update full CI scheduled runs from monthly to weekly. * Remove outdated comments about building DAHDI Linux on Fedora.
1 parent 868f6e9 commit 1fdc6e1

File tree

2 files changed

+40
-4
lines changed

2 files changed

+40
-4
lines changed
 

‎.github/workflows/linux-next.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: linux-next daily CI
2+
3+
on:
4+
# Retest daily to catch kernel breakage ASAP
5+
schedule:
6+
- cron: '0 4 * * *'
7+
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
jobs:
12+
dahdi-kernel-next:
13+
runs-on: ubuntu-24.04
14+
name: DAHDI, next kernel
15+
container: debian:12
16+
steps:
17+
- name: Install packages
18+
run: |
19+
apt-get -y update
20+
apt-get -y upgrade
21+
apt-get -y install git gcc make perl-modules flex bison wget libssl-dev libelf-dev bc
22+
- name: Clone kernel
23+
run: |
24+
cd /usr/src
25+
git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
26+
- name: Build kernel
27+
run: |
28+
cd /usr/src/linux-next
29+
make -j$(nproc) kernelversion
30+
make -j$(nproc) x86_64_defconfig
31+
make -j$(nproc) modules_prepare
32+
make -j$(nproc)
33+
make -j$(nproc) modules
34+
- name: Checkout
35+
uses: actions/checkout@v4
36+
- name: Build DAHDI
37+
run: |
38+
./phreaknet.sh make
39+
GIT_REPO_PATH=${GITHUB_WORKSPACE} KSRC=/usr/src/linux-next phreaknet dahdi --drivers

‎.github/workflows/main.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@ on:
77
branches: [ master ]
88
# Retest weekly to ensure nothing has broken
99
schedule:
10-
- cron: '0 1 15 * *'
10+
- cron: '0 4 * * 6'
1111

1212
# Allows you to run this workflow manually from the Actions tab
1313
workflow_dispatch:
1414

15-
# DAHDI not currently built in Fedora-based distros due to missing Azure kernel headers:
16-
# kernel-devel mismatch has been detected. Package provides 6.12.0-0.rc0.20240918git4a39ac5b7d62, but running kernel is 6.8.0-1014-azure
17-
1815
jobs:
1916
dahdi-kernel-stable:
2017
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)
Please sign in to comment.