|
|
@@ -47,7 +47,7 @@ jobs: |
|
|
|
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 libasound2-dev:arm64 libdbus-1-dev:arm64 libgl1-mesa-dev:arm64 libglib2.0-dev:arm64 libpulse-dev:arm64 libsdl2-dev:arm64 libx11-dev:arm64 libxcursor-dev:arm64 libxext-dev:arm64 libxrandr-dev:arm64 qemu-user-static |
|
|
|
sudo apt-get install -yqq g++-aarch64-linux-gnu libasound2-dev:arm64 libdbus-1-dev:arm64 libgl1-mesa-dev:arm64 libglib2.0-dev:arm64 libsdl2-dev:arm64 libx11-dev:arm64 libxcursor-dev:arm64 libxext-dev:arm64 libxrandr-dev:arm64 qemu-user-static |
|
|
|
- name: Set up ccache |
|
|
|
uses: hendrikmuhs/ccache-action@v1.2 |
|
|
|
with: |
|
|
@@ -66,7 +66,7 @@ jobs: |
|
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
|
|
export PKG_CONFIG_PATH+=:/usr/lib/aarch64-linux-gnu/pkgconfig |
|
|
|
make features |
|
|
|
make CIBUILD=true NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make CIBUILD=true HAVE_PULSEAUDIO=false NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make unzipfx |
|
|
|
- name: Set sha8 (non-release) |
|
|
|
if: startsWith(github.ref, 'refs/tags/') != true |
|
|
@@ -132,7 +132,7 @@ jobs: |
|
|
|
echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-armhf.list |
|
|
|
echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-armhf.list |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yqq g++-arm-linux-gnueabihf libasound2-dev:armhf libdbus-1-dev:armhf libgl1-mesa-dev:armhf libglib2.0-dev:armhf libpulse-dev:armhf libsdl2-dev:armhf libx11-dev:armhf libxcursor-dev:armhf libxext-dev:armhf libxrandr-dev:armhf qemu-user-static |
|
|
|
sudo apt-get install -yqq g++-arm-linux-gnueabihf libasound2-dev:armhf libdbus-1-dev:armhf libgl1-mesa-dev:armhf libglib2.0-dev:armhf libsdl2-dev:armhf libx11-dev:armhf libxcursor-dev:armhf libxext-dev:armhf libxrandr-dev:armhf qemu-user-static |
|
|
|
- name: Set up ccache |
|
|
|
uses: hendrikmuhs/ccache-action@v1.2 |
|
|
|
with: |
|
|
@@ -151,7 +151,7 @@ jobs: |
|
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
|
|
export PKG_CONFIG_PATH+=:/usr/lib/arm-linux-gnueabihf/pkgconfig |
|
|
|
make features |
|
|
|
make CIBUILD=true NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make CIBUILD=true HAVE_PULSEAUDIO=false NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make unzipfx |
|
|
|
- name: Set sha8 (non-release) |
|
|
|
if: startsWith(github.ref, 'refs/tags/') != true |
|
|
@@ -213,7 +213,7 @@ jobs: |
|
|
|
run: | |
|
|
|
sudo dpkg --add-architecture i386 |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yqq g++-multilib libasound2-dev:i386 libdbus-1-dev:i386 libgl1-mesa-dev:i386 libglib2.0-dev:i386 libpulse-dev:i386 libsdl2-dev:i386 libx11-dev:i386 libxcursor-dev:i386 libxext-dev:i386 libxrandr-dev:i386 |
|
|
|
sudo apt-get install -yqq g++-multilib libasound2-dev:i386 libdbus-1-dev:i386 libgl1-mesa-dev:i386 libglib2.0-dev:i386 libsdl2-dev:i386 libx11-dev:i386 libxcursor-dev:i386 libxext-dev:i386 libxrandr-dev:i386 |
|
|
|
- name: Set up ccache |
|
|
|
uses: hendrikmuhs/ccache-action@v1.2 |
|
|
|
with: |
|
|
@@ -232,7 +232,7 @@ jobs: |
|
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
|
|
export PKG_CONFIG_PATH+=:/usr/lib/i386-linux-gnu/pkgconfig |
|
|
|
make features |
|
|
|
make CIBUILD=true NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make CIBUILD=true HAVE_PULSEAUDIO=false NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make unzipfx |
|
|
|
- name: Set sha8 (non-release) |
|
|
|
if: startsWith(github.ref, 'refs/tags/') != true |
|
|
@@ -299,7 +299,7 @@ jobs: |
|
|
|
echo "deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-riscv64.list |
|
|
|
echo "deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-riscv64.list |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yqq g++-riscv64-linux-gnu libasound2-dev:riscv64 libdbus-1-dev:riscv64 libgl1-mesa-dev:riscv64 libglapi-mesa:riscv64 libglvnd0:riscv64 libglib2.0-dev:riscv64 libpulse-dev:riscv64 libsdl2-dev:riscv64 libx11-dev:riscv64 libxcursor-dev:riscv64 libxext-dev:riscv64 libxrandr-dev:riscv64 qemu-user-static |
|
|
|
sudo apt-get install -yqq g++-riscv64-linux-gnu libasound2-dev:riscv64 libdbus-1-dev:riscv64 libgl1-mesa-dev:riscv64 libglapi-mesa:riscv64 libglvnd0:riscv64 libglib2.0-dev:riscv64 libsdl2-dev:riscv64 libx11-dev:riscv64 libxcursor-dev:riscv64 libxext-dev:riscv64 libxrandr-dev:riscv64 qemu-user-static |
|
|
|
- name: Set up ccache |
|
|
|
uses: hendrikmuhs/ccache-action@v1.2 |
|
|
|
with: |
|
|
@@ -318,7 +318,7 @@ jobs: |
|
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
|
|
export PKG_CONFIG_PATH+=:/usr/lib/riscv64-linux-gnu/pkgconfig |
|
|
|
make features |
|
|
|
make CIBUILD=true NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make CIBUILD=true HAVE_PULSEAUDIO=false NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make unzipfx |
|
|
|
- name: Set sha8 (non-release) |
|
|
|
if: startsWith(github.ref, 'refs/tags/') != true |
|
|
@@ -374,7 +374,7 @@ jobs: |
|
|
|
- name: Set up dependencies |
|
|
|
run: | |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yqq libasound2-dev libdbus-1-dev libgl1-mesa-dev libglib2.0-dev libpulse-dev libsdl2-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev |
|
|
|
sudo apt-get install -yqq libasound2-dev libdbus-1-dev libgl1-mesa-dev libglib2.0-dev libsdl2-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev |
|
|
|
- name: Set up ccache |
|
|
|
uses: hendrikmuhs/ccache-action@v1.2 |
|
|
|
with: |
|
|
@@ -391,7 +391,7 @@ jobs: |
|
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
|
|
export PKG_CONFIG_PATH+=:/usr/lib/x86_64-linux-gnu/pkgconfig |
|
|
|
make features |
|
|
|
make CIBUILD=true NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make CIBUILD=true HAVE_PULSEAUDIO=false NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
|
make unzipfx |
|
|
|
- name: Set sha8 (non-release) |
|
|
|
if: startsWith(github.ref, 'refs/tags/') != true |
|
|
@@ -431,7 +431,7 @@ jobs: |
|
|
|
- name: Set up dependencies |
|
|
|
run: | |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yqq libasound2-dev libdbus-1-dev libgl1-mesa-dev liblo-dev libpulse-dev libsdl2-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev |
|
|
|
sudo apt-get install -yqq libasound2-dev libdbus-1-dev libgl1-mesa-dev liblo-dev libsdl2-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev |
|
|
|
- name: Build linux x86_64 (debug) |
|
|
|
env: |
|
|
|
LDFLAGS: -static-libgcc -static-libstdc++ |
|
|
@@ -440,7 +440,7 @@ jobs: |
|
|
|
# multiple jobs for building carla, deps and plugins |
|
|
|
make DEBUG=true carla deps dgl plugins resources -j $(nproc) |
|
|
|
# single job for final build stage, otherwise we might killed due to OOM |
|
|
|
make DEBUG=true -j 1 |
|
|
|
make DEBUG=true HAVE_PULSEAUDIO=false -j 1 |
|
|
|
- name: Set sha8 |
|
|
|
id: slug |
|
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|