@@ -1,32 +1,34 @@ | |||||
language: cpp | language: cpp | ||||
os: linux | |||||
dist: bionic | |||||
jobs: | jobs: | ||||
include: | include: | ||||
# linux native build | # linux native build | ||||
- os: linux | - os: linux | ||||
compiler: gcc | compiler: gcc | ||||
dist: bionic | |||||
env: | env: | ||||
- TARGET="linux" | - TARGET="linux" | ||||
# linux with win32 cross-compilation | # linux with win32 cross-compilation | ||||
- os: linux | - os: linux | ||||
compiler: gcc | compiler: gcc | ||||
dist: bionic | |||||
env: | env: | ||||
- TARGET="win32" | - TARGET="win32" | ||||
# linux with win64 cross-compilation | # linux with win64 cross-compilation | ||||
- os: linux | - os: linux | ||||
compiler: gcc | compiler: gcc | ||||
dist: bionic | |||||
env: | env: | ||||
- TARGET="win64" | - TARGET="win64" | ||||
# macOS native build | # macOS native build | ||||
- os: osx | - os: osx | ||||
compiler: gcc | |||||
addons: | |||||
homebrew: | |||||
packages: | |||||
- meson | |||||
env: | env: | ||||
- TARGET="macos" | - TARGET="macos" | ||||
@@ -2,9 +2,8 @@ | |||||
set -e | set -e | ||||
# Special macOS native handling | |||||
# nothing to do for macOS native | |||||
if [ "${TARGET}" = "macos" ]; then | if [ "${TARGET}" = "macos" ]; then | ||||
brew install meson || true | |||||
exit 0 | exit 0 | ||||
fi | fi | ||||