Browse Source

Tests for osx build

tags/2020-12-27
falkTX 3 years ago
parent
commit
139b88c63b
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 25 additions and 27 deletions
  1. +23
    -26
      .travis.yml
  2. +2
    -1
      .travis/install.sh

+ 23
- 26
.travis.yml View File

@@ -3,36 +3,33 @@ language: cpp
jobs:
include:
# linux native build
- name: "Linux native"
os: linux
compiler: gcc
dist: bionic
env:
- TARGET="linux"
# linux with win32 cross-compilation
- name: "win32 cross-compiled"
os: linux
compiler: gcc
dist: bionic
env:
- TARGET="win32"
# linux with win64 cross-compilation
- name: "win64 cross-compiled"
os: linux
compiler: gcc
dist: bionic
env:
- TARGET="win64"
#- name: "Linux native"
#os: linux
#compiler: gcc
#dist: bionic
#env:
#- TARGET="linux"
## linux with win32 cross-compilation
#- name: "win32 cross-compiled"
#os: linux
#compiler: gcc
#dist: bionic
#env:
#- TARGET="win32"
## linux with win64 cross-compilation
#- name: "win64 cross-compiled"
#os: linux
#compiler: gcc
#dist: bionic
#env:
#- TARGET="win64"

# macOS native build
- name: "macOS native"
os: osx
addons:
homebrew:
packages:
- meson
osx_image: xcode10.1
env:
- TARGET="macos"



+ 2
- 1
.travis/install.sh View File

@@ -2,8 +2,9 @@

set -e

# nothing to do for macOS native
# needed homebrew packages
if [ "${TARGET}" = "macos" ]; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install meson
exit 0
fi



Loading…
Cancel
Save