parent
0947e523e7
commit
5f7020f73d
|
@ -2,7 +2,7 @@ language: cpp
|
||||||
|
|
||||||
os: linux
|
os: linux
|
||||||
|
|
||||||
dist: bionic
|
dist: focal
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
@ -60,4 +60,4 @@ script:
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: true
|
email: true
|
||||||
irc: "ircs://chat.freenode.net:7070/#kxstudio"
|
irc: "ircs://chat.libera.chat:7070/#kxstudio"
|
||||||
|
|
|
@ -2,23 +2,27 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
if [ "${TARGET}" = "macos-native" ] || [ "${TARGET}" = "macos-universal" ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${TARGET}" = "macos" ]; then
|
if [ "${TARGET}" = "macos" ]; then
|
||||||
rm -f /etc/apt/sources.list.d/*.list
|
rm -f /etc/apt/sources.list.d/*.list
|
||||||
|
sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio
|
||||||
|
sudo add-apt-repository -y ppa:kxstudio-debian/mingw
|
||||||
|
sudo add-apt-repository -y ppa:kxstudio-debian/toolchain
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install kxstudio-repos
|
||||||
|
sudo apt-get update -qq
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio
|
if [ "${TARGET}" = "linux" ] || [ "${TARGET}" = "win32" ] || [ "${TARGET}" = "win64" ]; then
|
||||||
sudo add-apt-repository -y ppa:kxstudio-debian/mingw
|
|
||||||
sudo add-apt-repository -y ppa:kxstudio-debian/toolchain
|
|
||||||
|
|
||||||
if [ "${TARGET}" = "linux" ]; then
|
|
||||||
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
|
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/ bionic main'
|
sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
|
||||||
sudo add-apt-repository -y ppa:kxstudio-debian/ubuntus
|
|
||||||
sudo dpkg --add-architecture i386
|
sudo dpkg --add-architecture i386
|
||||||
elif [ "${TARGET}" = "linux-strict" ] || [ "${TARGET}" = "linux-juce-strict" ]; then
|
|
||||||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install kxstudio-repos
|
sudo apt-get install -y -o APT::Immediate-Configure=false libc6 libc6:i386 libgcc-s1:i386
|
||||||
sudo apt-get update -qq
|
sudo apt-get install -y -f
|
||||||
|
|
|
@ -91,6 +91,11 @@ elif [ "${TARGET}" = "macos" ]; then
|
||||||
pkg-config \
|
pkg-config \
|
||||||
apple-x86-setup
|
apple-x86-setup
|
||||||
|
|
||||||
|
elif [ "${TARGET}" = "macos-native" ] || [ "${TARGET}" = "macos-universal" ]; then
|
||||||
|
HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake jq meson
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
elif [ "${TARGET}" = "win32" ]; then
|
elif [ "${TARGET}" = "win32" ]; then
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
g++-multilib \
|
g++-multilib \
|
||||||
|
|
Loading…
Reference in New Issue