Skip to content

CI: Test without parallel build #621

CI: Test without parallel build

CI: Test without parallel build #621

Workflow file for this run

name: CI
on:
push:
branches: [ master, dev, dahdidev ]
pull_request:
branches: [ master ]
# Retest weekly to ensure nothing has broken
schedule:
- cron: '0 1 15 * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# DAHDI not currently built in Fedora-based distros due to missing Azure kernel headers:
# kernel-devel mismatch has been detected. Package provides 6.12.0-0.rc0.20240918git4a39ac5b7d62, but running kernel is 6.8.0-1014-azure
jobs:
dahdi-kernel-next:
runs-on: ubuntu-24.04
name: DAHDI, next kernel
container: debian:12
steps:
- name: Install packages
run: |
apt-get -y update
apt-get -y upgrade
apt-get -y install git gcc make perl-modules flex bison wget libssl-dev libelf-dev bc
- name: Clone kernel
run: |
cd /usr/src
git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
- name: Build kernel
run: |
cd /usr/src/linux-next
make -j$(nproc) kernelversion
make -j$(nproc) x86_64_defconfig
make -j$(nproc) modules_prepare
make -j$(nproc)
make -j$(nproc) modules
- name: Checkout
uses: actions/checkout@v4
- name: Build DAHDI
run: |
./phreaknet.sh make
GIT_REPO_PATH=${GITHUB_WORKSPACE} KSRC=/usr/src/linux-next phreaknet dahdi --drivers