Skip to content

CI: Enable all builds for ubuntu:24.04 #156

CI: Enable all builds for ubuntu:24.04

CI: Enable all builds for ubuntu:24.04 #156

name: bootstrap-minimal
on: [push, pull_request]
env:
CT_ALLOW_BUILD_AS_ROOT_SURE: 1
DEBIAN_FRONTEND: noninteractive
FORCE_UNSAFE_CONFIGURE: 1
jobs:
debian_12:
strategy:
matrix:
platform: [modduo, modduo-debug, modduo-new, modduo-new-debug, modduo-static, modduox, modduox-debug, modduox-static, modduox-new, modduox-new-debug, moddwarf, moddwarf-debug, moddwarf-new, moddwarf-new-debug, generic-aarch64, generic-aarch64-debug, generic-x86_64, generic-x86_64-debug]
runs-on: ubuntu-latest
container:
image: debian:12
steps:
- uses: actions/checkout@v4
- name: Set up cache
uses: actions/cache@v4
with:
path: |
~/mod-workdir/download
key: download-debian_12-${{ matrix.platform }}
- name: Install dependencies
run: |
apt-get update -qq && apt-get install -yqq \
acl bc curl cvs git mercurial rsync subversion wget \
bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip \
automake binutils build-essential cpio libtool libncurses-dev pkg-config python-is-python3 libtool-bin
- name: Bootstrap
run: |
sed -i 's/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/' toolchain/*.config
./bootstrap.sh ${{ matrix.platform }} minimal
debian_11:
strategy:
matrix:
platform: [modduo, modduo-debug, modduo-new, modduo-new-debug, modduo-static, modduox, modduox-debug, modduox-static, modduox-new, modduox-new-debug, moddwarf, moddwarf-debug, moddwarf-new, moddwarf-new-debug, generic-aarch64, generic-aarch64-debug, generic-x86_64, generic-x86_64-debug]
runs-on: ubuntu-latest
container:
image: debian:11
steps:
- uses: actions/checkout@v4
- name: Set up cache
uses: actions/cache@v4
with:
path: |
~/mod-workdir/download
key: download-debian_11-${{ matrix.platform }}
- name: Install dependencies
run: |
apt-get update -qq && apt-get install -yqq \
acl bc curl cvs git mercurial rsync subversion wget \
bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip \
automake binutils build-essential cpio libtool libncurses-dev pkg-config python-is-python3 libtool-bin
- name: Bootstrap
run: |
sed -i 's/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/' toolchain/*.config
./bootstrap.sh ${{ matrix.platform }} minimal
ubuntu_24_04:
strategy:
matrix:
platform: [modduo, modduo-debug, modduo-new, modduo-new-debug, modduo-static, modduox, modduox-debug, modduox-static, modduox-new, modduox-new-debug, moddwarf, moddwarf-debug, moddwarf-new, moddwarf-new-debug, generic-aarch64, generic-aarch64-debug, generic-x86_64, generic-x86_64-debug]
runs-on: ubuntu-latest
container:
image: ubuntu:24.04
steps:
- uses: actions/checkout@v4
- name: Set up cache
uses: actions/cache@v4
with:
path: |
~/mod-workdir/download
key: download-ubuntu_24_04-${{ matrix.platform }}
- name: Install dependencies
run: |
apt-get update -qq && apt-get install -yqq \
acl bc curl cvs git mercurial rsync subversion wget \
bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip \
automake binutils build-essential cpio libtool libncurses-dev pkg-config python-is-python3 libtool-bin
- name: Workaround texinfo bug
# https://lists.gnu.org/archive/html/bug-texinfo/2024-05/msg00000.html
run: |
wget https://launchpad.net/~kxstudio-debian/+archive/ubuntu/testing/+files/texinfo-lib_7.1-3kxstudio2_amd64.deb
wget https://launchpad.net/~kxstudio-debian/+archive/ubuntu/testing/+files/texinfo_7.1-3kxstudio2_all.deb
dpkg -i *.deb
- name: Bootstrap
run: |
sed -i 's/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/' toolchain/*.config
./bootstrap.sh ${{ matrix.platform }} minimal
ubuntu_22_04:
strategy:
matrix:
platform: [modduo, modduo-debug, modduo-new, modduo-new-debug, modduo-static, modduox, modduox-debug, modduox-static, modduox-new, modduox-new-debug, moddwarf, moddwarf-debug, moddwarf-new, moddwarf-new-debug, generic-aarch64, generic-aarch64-debug, generic-x86_64, generic-x86_64-debug]
runs-on: ubuntu-latest
container:
image: ubuntu:22.04
steps:
- uses: actions/checkout@v4
- name: Set up cache
uses: actions/cache@v4
with:
path: |
~/mod-workdir/download
key: download-ubuntu_22_04-${{ matrix.platform }}
- name: Install dependencies
run: |
apt-get update -qq && apt-get install -yqq \
acl bc curl cvs git mercurial rsync subversion wget \
bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip \
automake binutils build-essential cpio libtool libncurses-dev pkg-config python-is-python3 libtool-bin
- name: Bootstrap
run: |
sed -i 's/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/' toolchain/*.config
./bootstrap.sh ${{ matrix.platform }} minimal
ubuntu_20_04:
strategy:
matrix:
platform: [modduo, modduo-debug, modduo-new, modduo-new-debug, modduo-static, modduox, modduox-debug, modduox-static, modduox-new, modduox-new-debug, moddwarf, moddwarf-debug, moddwarf-new, moddwarf-new-debug, generic-aarch64, generic-aarch64-debug, generic-x86_64, generic-x86_64-debug]
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
steps:
- uses: actions/checkout@v4
- name: Set up cache
uses: actions/cache@v4
with:
path: |
~/mod-workdir/download
key: download-ubuntu_20_04-${{ matrix.platform }}
- name: Install dependencies
run: |
apt-get update -qq && apt-get install -yqq \
acl bc curl cvs git mercurial rsync subversion wget \
bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip \
automake binutils build-essential cpio libtool libncurses-dev pkg-config python-is-python3 libtool-bin
- name: Bootstrap
run: |
sed -i 's/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/' toolchain/*.config
./bootstrap.sh ${{ matrix.platform }} minimal