Enable all the builds again
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
3c3628029b
commit
a8009a172d
6 changed files with 62 additions and 37 deletions
78
.github/workflows/build.yml
vendored
78
.github/workflows/build.yml
vendored
|
@ -305,6 +305,7 @@ jobs:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Set up cache
|
- name: Set up cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
id: mpb-cache
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/mod-workdir
|
~/mod-workdir
|
||||||
|
@ -312,23 +313,24 @@ jobs:
|
||||||
- name: Set up dependencies
|
- name: Set up dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo 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 libtool-bin
|
sudo 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 libtool-bin liblo-dev
|
||||||
- name: Bootstrap toolchain
|
- name: Bootstrap toolchain
|
||||||
|
if: steps.mpb-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 https://github.com/moddevices/mod-plugin-builder.git deps/mod-plugin-builder
|
git clone --depth=1 https://github.com/moddevices/mod-plugin-builder.git deps/mod-plugin-builder
|
||||||
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config
|
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config
|
||||||
$(pwd)/deps/mod-plugin-builder/bootstrap.sh modduo-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduo-static
|
$(pwd)/deps/mod-plugin-builder/bootstrap.sh modduo-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduo-static
|
||||||
#- name: Build for modduo
|
- name: Build for modduo
|
||||||
#run: |
|
run: |
|
||||||
#CFLAGS="-ffat-lto-objects" CXXFLAGS="-ffat-lto-objects" make modduo HAVE_LIBLO=true HEADLESS=true WITH_LTO=true -j $(nproc)
|
make modduo HEADLESS=true WITH_LTO=true -j $(nproc)
|
||||||
#- name: Pack binaries
|
- name: Pack binaries
|
||||||
#run: |
|
run: |
|
||||||
#tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduo-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduo-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
|
||||||
#- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
#with:
|
with:
|
||||||
#name: ${{ github.event.repository.name }}-modduo-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
name: ${{ github.event.repository.name }}-modduo-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
||||||
#path: |
|
path: |
|
||||||
#*.tar.gz
|
*.tar.gz
|
||||||
|
|
||||||
modduox:
|
modduox:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@ -338,6 +340,7 @@ jobs:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Set up cache
|
- name: Set up cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
id: mpb-cache
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/mod-workdir
|
~/mod-workdir
|
||||||
|
@ -345,23 +348,24 @@ jobs:
|
||||||
- name: Set up dependencies
|
- name: Set up dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo 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 libtool-bin
|
sudo 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 libtool-bin liblo-dev
|
||||||
- name: Bootstrap toolchain
|
- name: Bootstrap toolchain
|
||||||
|
if: steps.mpb-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 https://github.com/moddevices/mod-plugin-builder.git deps/mod-plugin-builder
|
git clone --depth=1 https://github.com/moddevices/mod-plugin-builder.git deps/mod-plugin-builder
|
||||||
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config
|
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config
|
||||||
$(pwd)/deps/mod-plugin-builder/bootstrap.sh modduox-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduox-static
|
$(pwd)/deps/mod-plugin-builder/bootstrap.sh modduox-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduox-static
|
||||||
#- name: Build for modduox
|
- name: Build for modduox
|
||||||
#run: |
|
run: |
|
||||||
#CFLAGS="-ffat-lto-objects" CXXFLAGS="-ffat-lto-objects" make modduox HAVE_LIBLO=true HEADLESS=true WITH_LTO=true -j $(nproc)
|
make modduox HEADLESS=true WITH_LTO=true -j $(nproc)
|
||||||
#- name: Pack binaries
|
- name: Pack binaries
|
||||||
#run: |
|
run: |
|
||||||
#tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduox-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduox-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
|
||||||
#- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
#with:
|
with:
|
||||||
#name: ${{ github.event.repository.name }}-modduox-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
name: ${{ github.event.repository.name }}-modduox-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
||||||
#path: |
|
path: |
|
||||||
#*.tar.gz
|
*.tar.gz
|
||||||
|
|
||||||
moddwarf:
|
moddwarf:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@ -371,6 +375,7 @@ jobs:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Set up cache
|
- name: Set up cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
id: mpb-cache
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/mod-workdir
|
~/mod-workdir
|
||||||
|
@ -378,23 +383,24 @@ jobs:
|
||||||
- name: Set up dependencies
|
- name: Set up dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo 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 libtool-bin
|
sudo 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 libtool-bin liblo-dev
|
||||||
- name: Bootstrap toolchain
|
- name: Bootstrap toolchain
|
||||||
|
if: steps.mpb-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 https://github.com/moddevices/mod-plugin-builder.git deps/mod-plugin-builder
|
git clone --depth=1 https://github.com/moddevices/mod-plugin-builder.git deps/mod-plugin-builder
|
||||||
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config
|
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config
|
||||||
$(pwd)/deps/mod-plugin-builder/bootstrap.sh moddwarf minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh moddwarf
|
$(pwd)/deps/mod-plugin-builder/bootstrap.sh moddwarf minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh moddwarf
|
||||||
#- name: Build for moddwarf
|
- name: Build for moddwarf
|
||||||
#run: |
|
run: |
|
||||||
#CFLAGS="-ffat-lto-objects" CXXFLAGS="-ffat-lto-objects" make moddwarf HAVE_LIBLO=true HEADLESS=true WITH_LTO=true -j $(nproc)
|
make moddwarf HEADLESS=true WITH_LTO=true -j $(nproc)
|
||||||
#- name: Pack binaries
|
- name: Pack binaries
|
||||||
#run: |
|
run: |
|
||||||
#tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-moddwarf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-moddwarf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
|
||||||
#- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
#with:
|
with:
|
||||||
#name: ${{ github.event.repository.name }}-moddwarf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
name: ${{ github.event.repository.name }}-moddwarf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
||||||
#path: |
|
path: |
|
||||||
#*.tar.gz
|
*.tar.gz
|
||||||
|
|
||||||
win32:
|
win32:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -97,7 +97,7 @@ endif
|
||||||
# MOD builds
|
# MOD builds
|
||||||
|
|
||||||
MOD_WORKDIR ?= $(HOME)/mod-workdir
|
MOD_WORKDIR ?= $(HOME)/mod-workdir
|
||||||
MOD_ENVIRONMENT = AR=${1}/host/usr/bin/${2}-gcc-ar CC=${1}/host/usr/bin/${2}-gcc CPP=${1}/host/usr/bin/${2}-cpp CXX=${1}/host/usr/bin/${2}-g++ LD=${1}/host/usr/bin/${2}-ld PKG_CONFIG=${1}/host/usr/bin/pkg-config STRIP=${1}/host/usr/bin/${2}-strip CFLAGS="-I${1}/staging/usr/include" CPPFLAGS= CXXFLAGS="-I${1}/staging/usr/include" LDFLAGS="-L${1}/staging/usr/lib" \ EXE_WRAPPER="qemu-${3}-static -L ${1}/target" HEADLESS=true NOOPT=true STATIC_BUILD=true
|
MOD_ENVIRONMENT = AR=${1}/host/usr/bin/${2}-gcc-ar CC=${1}/host/usr/bin/${2}-gcc CPP=${1}/host/usr/bin/${2}-cpp CXX=${1}/host/usr/bin/${2}-g++ LD=${1}/host/usr/bin/${2}-ld PKG_CONFIG=${1}/host/usr/bin/pkg-config STRIP=${1}/host/usr/bin/${2}-strip CFLAGS="-I${1}/staging/usr/include" CPPFLAGS= CXXFLAGS="-I${1}/staging/usr/include" LDFLAGS="-L${1}/staging/usr/lib" \ EXE_WRAPPER="qemu-${3}-static -L ${1}/target" HEADLESS=true MOD_BUILD=true NOOPT=true STATIC_BUILD=true
|
||||||
|
|
||||||
modduo:
|
modduo:
|
||||||
$(MAKE) $(call MOD_ENVIRONMENT,$(MOD_WORKDIR)/modduo-static,arm-mod-linux-gnueabihf.static,arm)
|
$(MAKE) $(call MOD_ENVIRONMENT,$(MOD_WORKDIR)/modduo-static,arm-mod-linux-gnueabihf.static,arm)
|
||||||
|
|
6
deps/Makefile
vendored
6
deps/Makefile
vendored
|
@ -18,6 +18,12 @@ BASE_FLAGS += -DZSTDLIB_VISIBILITY=
|
||||||
BASE_FLAGS += -I../include
|
BASE_FLAGS += -I../include
|
||||||
BASE_FLAGS += -I../include/neon-compat
|
BASE_FLAGS += -I../include/neon-compat
|
||||||
|
|
||||||
|
ifeq ($(HEADLESS),true)
|
||||||
|
ifeq ($(WITH_LTO),true)
|
||||||
|
BASE_FLAGS += -ffat-lto-objects
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(WASM),true)
|
ifeq ($(WASM),true)
|
||||||
BASE_FLAGS += -msse -msse2 -msse3 -msimd128
|
BASE_FLAGS += -msse -msse2 -msse3 -msimd128
|
||||||
else
|
else
|
||||||
|
|
|
@ -748,6 +748,9 @@ endif
|
||||||
|
|
||||||
ifeq ($(HEADLESS),true)
|
ifeq ($(HEADLESS),true)
|
||||||
BASE_FLAGS += -DHEADLESS
|
BASE_FLAGS += -DHEADLESS
|
||||||
|
ifeq ($(WITH_LTO),true)
|
||||||
|
BASE_FLAGS += -ffat-lto-objects
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WASM),true)
|
ifeq ($(WASM),true)
|
||||||
|
|
|
@ -62,6 +62,9 @@ endif
|
||||||
|
|
||||||
ifeq ($(HEADLESS),true)
|
ifeq ($(HEADLESS),true)
|
||||||
BASE_FLAGS += -DHEADLESS
|
BASE_FLAGS += -DHEADLESS
|
||||||
|
ifeq ($(WITH_LTO),true)
|
||||||
|
BASE_FLAGS += -ffat-lto-objects
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WASM),true)
|
ifeq ($(WASM),true)
|
||||||
|
@ -148,9 +151,13 @@ endif
|
||||||
TARGET = rack.a
|
TARGET = rack.a
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
ifeq ($(MOD_BUILD),true)
|
||||||
|
$(MAKE) -C CardinalFX lv2 resources
|
||||||
|
else
|
||||||
$(MAKE) -C CardinalFX
|
$(MAKE) -C CardinalFX
|
||||||
$(MAKE) -C CardinalSynth
|
$(MAKE) -C CardinalSynth
|
||||||
$(MAKE) -C Cardinal
|
$(MAKE) -C Cardinal
|
||||||
|
endif
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
$(MAKE) resources -C Cardinal
|
$(MAKE) resources -C Cardinal
|
||||||
|
|
|
@ -159,6 +159,9 @@ BASE_FLAGS += -pthread
|
||||||
|
|
||||||
ifeq ($(HEADLESS),true)
|
ifeq ($(HEADLESS),true)
|
||||||
BASE_FLAGS += -DHEADLESS
|
BASE_FLAGS += -DHEADLESS
|
||||||
|
ifeq ($(WITH_LTO),true)
|
||||||
|
BASE_FLAGS += -ffat-lto-objects
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WASM),true)
|
ifeq ($(WASM),true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue