Browse Source

CI: test builds on macOS

tags/2020-12-27
falkTX 1 year ago
parent
commit
68377e08c3
3 changed files with 17 additions and 0 deletions
  1. +6
    -0
      .travis.yml
  2. +5
    -0
      .travis/before_install.sh
  3. +6
    -0
      .travis/install.sh

+ 6
- 0
.travis.yml View File

@@ -24,6 +24,12 @@ jobs:
env:
- TARGET="win64"

# macOS native build
- os: osx
compiler: gcc
env:
- TARGET="macos"

before_install:
- bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh



+ 5
- 0
.travis/before_install.sh View File

@@ -2,6 +2,11 @@

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/toolchain



+ 6
- 0
.travis/install.sh View File

@@ -2,6 +2,12 @@

set -e

# Special macOS native handling
if [ "${TARGET}" = "macos" ]; then
brew install meson || true
exit 0
fi

# common
sudo apt-get install -y build-essential meson



Loading…
Cancel
Save