@@ -0,0 +1,51 @@ | |||||
language: cpp | |||||
os: linux | |||||
dist: focal | |||||
cache: | |||||
directories: | |||||
- ${HOME}/PawPawBuilds/builds | |||||
- ${HOME}/PawPawBuilds/debs | |||||
- ${HOME}/PawPawBuilds/downloads | |||||
- ${HOME}/PawPawBuilds/targets/macos | |||||
- ${HOME}/PawPawBuilds/targets/win32 | |||||
- ${HOME}/PawPawBuilds/targets/win64 | |||||
env: | |||||
global: | |||||
- BOOTSTRAP_VERSION=1 | |||||
jobs: | |||||
# linux with win32 cross-compilation | |||||
- os: linux | |||||
compiler: gcc | |||||
env: | |||||
- TARGET="win32" | |||||
services: | |||||
- xvfb | |||||
# linux with win64 cross-compilation | |||||
- os: linux | |||||
compiler: gcc | |||||
env: | |||||
- TARGET="win64" | |||||
services: | |||||
- xvfb | |||||
# macOS native build | |||||
- os: osx | |||||
compiler: gcc | |||||
env: | |||||
- TARGET="macos" | |||||
before_install: | |||||
- bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh | |||||
install: | |||||
- bash ${TRAVIS_BUILD_DIR}/.travis/install.sh | |||||
script: | |||||
- bash ${TRAVIS_BUILD_DIR}/PawPaw/bootstrap-common.sh ${TARGET} | |||||
- bash ${TRAVIS_BUILD_DIR}/PawPaw/.cleanup.sh ${TARGET} |
@@ -0,0 +1,17 @@ | |||||
#!/bin/bash | |||||
set -e | |||||
if [ "${TARGET}" = "macos" ]; then | |||||
exit 0 | |||||
fi | |||||
if [ "${TARGET}" = "win32" ] || [ "${TARGET}" = "win64" ]; then | |||||
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - | |||||
sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' | |||||
sudo dpkg --add-architecture i386 | |||||
fi | |||||
sudo apt-get update -qq | |||||
sudo apt-get install -y -o APT::Immediate-Configure=false libc6 libc6:i386 libgcc-s1:i386 | |||||
sudo apt-get install -y -f |
@@ -0,0 +1,27 @@ | |||||
#!/bin/bash | |||||
set -e | |||||
# Special macOS native handling | |||||
if [ "${TARGET}" = "macos" ] || [ "${TARGET}" = "macos-universal" ]; then | |||||
HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake jq meson | |||||
exit 0 | |||||
fi | |||||
# Special handling for caching deb archives | |||||
if [ "$(ls ${HOME}/PawPawBuilds/debs | wc -l)" -ne 0 ]; then | |||||
sudo cp ${HOME}/PawPawBuilds/debs/*.deb /var/cache/apt/archives/ | |||||
fi | |||||
# common | |||||
sudo apt-get install -y build-essential curl cmake jq llvm mingw-w64 qttools5-dev-tools winehq-stable | |||||
# specific | |||||
if [ "${TARGET}" = "win32" ]; then | |||||
sudo apt-get install -y binutils-mingw-w64-i686 g++-mingw-w64-i686 | |||||
elif [ "${TARGET}" = "win64" ]; then | |||||
sudo apt-get install -y binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 | |||||
fi | |||||
# Special handling for caching deb archives | |||||
sudo mv /var/cache/apt/archives/*.deb ${HOME}/PawPawBuilds/debs/ |
@@ -0,0 +1,7 @@ | |||||
# Carla binary releases | |||||
The git repository that provides the infrastructure for Carla binary releases. | |||||
These binary builds are completely automated, targetting Windows (32bit and 64bit, cross-compiled using mingw) and macOS (native). | |||||
[Click here for the Carla binaries](https://github.com/falkTX/Carla-Releases/releases) |