Skip to content

Commit

Permalink
CI: Build DAHDI on Fedora-based distros. (#51)
Browse files Browse the repository at this point in the history
Fedora-based distros were not previously built in the CI, due to the
provided kernel-devel packages not providing headers that matched
the running kernel.

Work around this by manually setting KSRC, in order to use whatever
kernel is available, allowing the build to proceed.

Also add build for Alma Linux 9.5 (equivalent to RHEL 9.5), so we can
test the 9.5 minor version.
  • Loading branch information
InterLinked1 authored Nov 21, 2024
1 parent cb51037 commit bd569d7
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 62 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
- name: Build DAHDI and Asterisk
run: |
sudo ./phreaknet.sh make
sudo phreaknet install --fast --dahdi --drivers --sip --devmode
sudo phreaknet install --fast --dahdi --drivers --devmode --sip
ubuntu-stable:
runs-on: ubuntu-22.04
name: Ubuntu 22.04
Expand All @@ -142,7 +142,7 @@ jobs:
- name: Build DAHDI and Asterisk
run: |
sudo ./phreaknet.sh make
sudo phreaknet install --fast --dahdi --drivers --sip --devmode
sudo phreaknet install --fast --dahdi --drivers --devmode --sip
debian-stable-asterisk-lts:
runs-on: ubuntu-24.04
name: Debian 12, Asterisk 20
Expand Down Expand Up @@ -188,7 +188,17 @@ jobs:
- name: Build DAHDI and Asterisk
run: |
./phreaknet.sh make
phreaknet install --fast --sip --devmode
KVERS="6.13.0-0.rc0" phreaknet install --fast --dahdi --drivers --devmode
alma-9-5:
runs-on: ubuntu-24.04
name: Alma Linux 9.5
container: almalinux:9.5
steps:
- uses: actions/checkout@v4
- name: Build DAHDI and Asterisk
run: |
./phreaknet.sh make
KVERS="5.14.0-503.14.1" phreaknet install --fast --dahdi --drivers --devmode
rocky-9:
runs-on: ubuntu-24.04
name: Rocky Linux 9.3
Expand All @@ -198,7 +208,7 @@ jobs:
- name: Build DAHDI and Asterisk
run: |
./phreaknet.sh make
phreaknet install --fast --sip --devmode
KVERS="5.14.0-503.14.1" phreaknet install --fast --dahdi --drivers --devmode
rocky-8:
runs-on: ubuntu-24.04
name: Rocky Linux 8.9
Expand All @@ -208,17 +218,17 @@ jobs:
- name: Build DAHDI and Asterisk
run: |
./phreaknet.sh make
phreaknet install --fast --sip --devmode
KVERS="4.18.0-553.27.1" phreaknet install --fast --dahdi --drivers --devmode
opensuse:
runs-on: ubuntu-24.04
name: openSUSE Tumbleweed
container: opensuse/tumbleweed
steps:
- uses: actions/checkout@v4
- name: Build DAHDI and Asterisk
- name: Build Asterisk
run: |
./phreaknet.sh make
phreaknet install --fast --sip --devmode
phreaknet install --fast --devmode --sip
archlinux:
runs-on: ubuntu-24.04
name: Arch Linux
Expand All @@ -228,7 +238,7 @@ jobs:
- name: Build DAHDI and Asterisk
run: |
./phreaknet.sh make
phreaknet install --fast --dahdi --drivers --sip --devmode
phreaknet install --fast --dahdi --drivers --devmode --sip
# FreeBSD CI disabled since libuuid headers can't get installed in CI?
# freebsd-14:
# runs-on: ubuntu-24.04
Expand All @@ -241,4 +251,4 @@ jobs:
# usesh: true
# run: |
# ./phreaknet.sh make
# phreaknet install --fast --sip --devmode
# phreaknet install --fast --devmode --sip
Loading

0 comments on commit bd569d7

Please sign in to comment.