@@ -24,6 +24,12 @@ jobs: | |||||
env: | env: | ||||
- TARGET="win64" | - TARGET="win64" | ||||
# macOS native build | |||||
- os: osx | |||||
compiler: gcc | |||||
env: | |||||
- TARGET="macos" | |||||
before_install: | before_install: | ||||
- bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh | - bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh | ||||
@@ -2,6 +2,11 @@ | |||||
set -e | set -e | ||||
# nothing to do for macOS native | |||||
if [ "${TARGET}" = "macos" ]; then | |||||
exit 0 | |||||
fi | |||||
sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio | sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio | ||||
sudo add-apt-repository -y ppa:kxstudio-debian/toolchain | sudo add-apt-repository -y ppa:kxstudio-debian/toolchain | ||||
@@ -2,6 +2,12 @@ | |||||
set -e | set -e | ||||
# Special macOS native handling | |||||
if [ "${TARGET}" = "macos" ]; then | |||||
brew install meson || true | |||||
exit 0 | |||||
fi | |||||
# common | # common | ||||
sudo apt-get install -y build-essential meson | sudo apt-get install -y build-essential meson | ||||