Skip to content

Commit 2fc5d63

Browse files
committed
CI: Split up mainline/next builds from all others.
Due to the persistent build failures in PHREAKSCRIPT-66, split up the mainline and next kernel builds from any others so that these workflows can be managed separately.
1 parent f46bce0 commit 2fc5d63

File tree

4 files changed

+111
-85
lines changed

4 files changed

+111
-85
lines changed

.github/workflows/daily-latest.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Daily CI (latest)
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/daily.yml

-28
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,6 @@ on:
99
workflow_dispatch:
1010

1111
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
4012
fedora-42:
4113
runs-on: ubuntu-24.04
4214
name: Fedora 42

.github/workflows/main-latest.yml

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Main CI (latest)
2+
3+
on:
4+
push:
5+
branches: [ master, dev ]
6+
pull_request:
7+
branches: [ master ]
8+
# Retest weekly to ensure nothing has broken
9+
schedule:
10+
- cron: '0 4 * * 6'
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
jobs:
16+
dahdi-kernel-mainline:
17+
runs-on: ubuntu-24.04
18+
name: DAHDI, mainline kernel
19+
container: debian:12
20+
steps:
21+
- name: Install packages
22+
run: |
23+
apt-get -y update
24+
apt-get -y upgrade
25+
apt-get -y install git gcc make perl-modules flex bison wget libssl-dev libelf-dev bc
26+
- name: Clone kernel
27+
run: |
28+
cd /usr/src
29+
git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
30+
- name: Build kernel
31+
run: |
32+
cd /usr/src/linux
33+
make -j$(nproc) kernelversion
34+
make -j$(nproc) x86_64_defconfig
35+
make -j$(nproc) modules_prepare
36+
make -j$(nproc)
37+
make -j$(nproc) modules
38+
- name: Checkout
39+
uses: actions/checkout@v4
40+
- name: Build DAHDI
41+
run: |
42+
./phreaknet.sh make
43+
GIT_REPO_PATH=${GITHUB_WORKSPACE} KSRC=/usr/src/linux phreaknet dahdi --drivers
44+
dahdi-kernel-next:
45+
runs-on: ubuntu-24.04
46+
name: DAHDI, next kernel
47+
container: debian:12
48+
steps:
49+
- name: Install packages
50+
run: |
51+
apt-get -y update
52+
apt-get -y upgrade
53+
apt-get -y install git gcc make perl-modules flex bison wget libssl-dev libelf-dev bc
54+
- name: Clone kernel
55+
run: |
56+
cd /usr/src
57+
git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
58+
- name: Build kernel
59+
run: |
60+
cd /usr/src/linux-next
61+
make -j$(nproc) kernelversion
62+
make -j$(nproc) x86_64_defconfig
63+
make -j$(nproc) modules_prepare
64+
make -j$(nproc)
65+
make -j$(nproc) modules
66+
- name: Checkout
67+
uses: actions/checkout@v4
68+
- name: Build DAHDI
69+
run: |
70+
./phreaknet.sh make
71+
GIT_REPO_PATH=${GITHUB_WORKSPACE} KSRC=/usr/src/linux-next phreaknet dahdi --drivers

.github/workflows/main.yml

+1-57
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Main CI
22

33
on:
44
push:
@@ -64,62 +64,6 @@ jobs:
6464
run: |
6565
./phreaknet.sh make
6666
GIT_REPO_PATH=${GITHUB_WORKSPACE} KSRC=/usr/src/linux phreaknet dahdi --drivers
67-
dahdi-kernel-mainline:
68-
runs-on: ubuntu-24.04
69-
name: DAHDI, mainline kernel
70-
container: debian:12
71-
steps:
72-
- name: Install packages
73-
run: |
74-
apt-get -y update
75-
apt-get -y upgrade
76-
apt-get -y install git gcc make perl-modules flex bison wget libssl-dev libelf-dev bc
77-
- name: Clone kernel
78-
run: |
79-
cd /usr/src
80-
git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
81-
- name: Build kernel
82-
run: |
83-
cd /usr/src/linux
84-
make -j$(nproc) kernelversion
85-
make -j$(nproc) x86_64_defconfig
86-
make -j$(nproc) modules_prepare
87-
make -j$(nproc)
88-
make -j$(nproc) modules
89-
- name: Checkout
90-
uses: actions/checkout@v4
91-
- name: Build DAHDI
92-
run: |
93-
./phreaknet.sh make
94-
GIT_REPO_PATH=${GITHUB_WORKSPACE} KSRC=/usr/src/linux phreaknet dahdi --drivers
95-
dahdi-kernel-next:
96-
runs-on: ubuntu-24.04
97-
name: DAHDI, next kernel
98-
container: debian:12
99-
steps:
100-
- name: Install packages
101-
run: |
102-
apt-get -y update
103-
apt-get -y upgrade
104-
apt-get -y install git gcc make perl-modules flex bison wget libssl-dev libelf-dev bc
105-
- name: Clone kernel
106-
run: |
107-
cd /usr/src
108-
git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
109-
- name: Build kernel
110-
run: |
111-
cd /usr/src/linux-next
112-
make -j$(nproc) kernelversion
113-
make -j$(nproc) x86_64_defconfig
114-
make -j$(nproc) modules_prepare
115-
make -j$(nproc)
116-
make -j$(nproc) modules
117-
- name: Checkout
118-
uses: actions/checkout@v4
119-
- name: Build DAHDI
120-
run: |
121-
./phreaknet.sh make
122-
GIT_REPO_PATH=${GITHUB_WORKSPACE} KSRC=/usr/src/linux-next phreaknet dahdi --drivers
12367
ubuntu-latest:
12468
runs-on: ubuntu-24.04
12569
name: Ubuntu 24.04

0 commit comments

Comments
 (0)