Skip to content

Commit

Permalink
Merge branch 'moddevices:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
rominator1983 authored Oct 29, 2023
2 parents 55af2e2 + 6508a68 commit db91008
Show file tree
Hide file tree
Showing 19 changed files with 824 additions and 36 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/bootstrap-full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: bootstrap-full

on: [push, pull_request]

env:
CT_ALLOW_BUILD_AS_ROOT_SURE: 1
DEBIAN_FRONTEND: noninteractive

jobs:
ubuntu_23_10:
strategy:
matrix:
platform: [modduo, modduo-static, modduo-new, modduox, modduox-static, modduox-new, moddwarf, moddwarf-new, raspberrypi4, x86_64]
runs-on: ubuntu-latest
container:
image: ubuntu:23.10
steps:
- uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v3
with:
path: |
~/mod-workdir/download
key: download-ubuntu_23_10-${{ 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 }}
138 changes: 138 additions & 0 deletions .github/workflows/bootstrap-minimal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
name: bootstrap-minimal

on: [push, pull_request]

env:
CT_ALLOW_BUILD_AS_ROOT_SURE: 1
DEBIAN_FRONTEND: noninteractive

jobs:
debian_12:
strategy:
matrix:
platform: [modduo, modduo-static, modduo-new, modduox, modduox-static, modduox-new, moddwarf, moddwarf-new, raspberrypi4, x86_64]
runs-on: ubuntu-latest
container:
image: debian:12
steps:
- uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v3
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-static, modduo-new, modduox, modduox-static, modduox-new, moddwarf, moddwarf-new, raspberrypi4, x86_64]
runs-on: ubuntu-latest
container:
image: debian:11
steps:
- uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v3
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_23_10:
strategy:
matrix:
platform: [modduo, modduo-static, modduo-new, modduox, modduox-static, modduox-new, moddwarf, moddwarf-new, raspberrypi4, x86_64]
runs-on: ubuntu-latest
container:
image: ubuntu:23.10
steps:
- uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v3
with:
path: |
~/mod-workdir/download
key: download-ubuntu_23_10-${{ 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_22_04:
strategy:
matrix:
platform: [modduo, modduo-static, modduo-new, modduox, modduox-static, modduox-new, moddwarf, moddwarf-new, raspberrypi4, x86_64]
runs-on: ubuntu-latest
container:
image: ubuntu:22.04
steps:
- uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v3
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-static, modduo-new, modduox, modduox-static, modduox-new, moddwarf, moddwarf-new, raspberrypi4, x86_64]
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
steps:
- uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v3
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
4 changes: 4 additions & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ if [ ! -f ${TOOLCHAIN_BUILD_DIR}/${CT_NG_VERSION}/configure ]; then
elif [ "${CT_NG_VERSION}" = "crosstool-ng-1.25.0" ]; then
cp ${SOURCE_DIR}/patches/${CT_NG_VERSION}/glibc-2.27/*.patch ${TOOLCHAIN_BUILD_DIR}/${CT_NG_VERSION}/packages/glibc/2.27/
cp ${SOURCE_DIR}/patches/${CT_NG_VERSION}/glibc-2.35/*.patch ${TOOLCHAIN_BUILD_DIR}/${CT_NG_VERSION}/packages/glibc/2.35/

if [ "${TOOLCHAIN_PLATFORM}" == "moddwarf-new" ]; then
cp ${SOURCE_DIR}/patches/${CT_NG_VERSION}/glibc-2.27-dwarf/*.patch ${TOOLCHAIN_BUILD_DIR}/${CT_NG_VERSION}/packages/glibc/2.27/
fi
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion lv2-data
Loading

0 comments on commit db91008

Please sign in to comment.