Add modduox build target, enable OSC/liblo in build artifacts
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
e943bd4f8b
commit
0e2e334fa8
2 changed files with 57 additions and 1 deletions
56
.github/workflows/build.yml
vendored
56
.github/workflows/build.yml
vendored
|
|
@ -296,6 +296,62 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
*-macOS.pkg
|
*-macOS.pkg
|
||||||
|
|
||||||
|
modduox:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
- name: Set up cache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/PawPawBuilds
|
||||||
|
~/work/Cardinal/Cardinal/build/plugins
|
||||||
|
~/work/Cardinal/Cardinal/build/rack
|
||||||
|
key: linux-arm64-v${{ env.CACHE_VERSION }}
|
||||||
|
- name: Fix GitHub's mess
|
||||||
|
run: |
|
||||||
|
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
|
||||||
|
- name: Set up dependencies
|
||||||
|
run: |
|
||||||
|
sudo dpkg --add-architecture arm64
|
||||||
|
sudo sed -i "s/deb http/deb [arch=amd64] http/" /etc/apt/sources.list
|
||||||
|
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse" | sudo tee /etc/apt/sources.list.d/ports-arm64.list
|
||||||
|
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-arm64.list
|
||||||
|
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-arm64.list
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -yqq g++-aarch64-linux-gnu libgl1-mesa-dev:arm64 libglib2.0-dev:arm64 libx11-dev:arm64 libxcursor-dev:arm64 libxext-dev:arm64 libxrandr-dev:arm64 qemu-user-static
|
||||||
|
- name: Build extra dependencies
|
||||||
|
env:
|
||||||
|
PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig
|
||||||
|
run: |
|
||||||
|
./deps/PawPaw/bootstrap-cardinal.sh linux-aarch64
|
||||||
|
- name: Build linux arm64 cross-compiled
|
||||||
|
run: |
|
||||||
|
pushd deps/PawPaw; source local.env linux-aarch64; popd
|
||||||
|
make features
|
||||||
|
# fancy dance to skip building Standalone and VSTs
|
||||||
|
make HEADLESS=true NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc) carla deps plugins dpf/utils/lv2_ttl_generator
|
||||||
|
make HEADLESS=true NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc) -C src rack.a
|
||||||
|
make HEADLESS=true NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc) -C src/CardinalFX lv2
|
||||||
|
make HEADLESS=true NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc) -C src/CardinalSynth lv2
|
||||||
|
make HEADLESS=true NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc) -C plugins resources
|
||||||
|
./dpf/utils/generate-ttl.sh
|
||||||
|
- name: Set sha8
|
||||||
|
id: slug
|
||||||
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
||||||
|
- name: Pack binaries
|
||||||
|
run: |
|
||||||
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
||||||
|
path: |
|
||||||
|
*.tar.gz
|
||||||
|
|
||||||
win32:
|
win32:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
2
deps/PawPaw
vendored
2
deps/PawPaw
vendored
|
|
@ -1 +1 @@
|
||||||
Subproject commit bafa29de39d8dd755c01a1a0b853e4cf5d4fc10c
|
Subproject commit 47c3cde2841322ebb6fcc799d933627223e69d2f
|
||||||
Loading…
Add table
Add a link
Reference in a new issue