From 71f25a61fa683e0a5d208641e051ff5ec73ebafc Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 15 Jun 2020 03:58:03 -0400 Subject: [PATCH] CI: Update travis.yml * makefile: Minor fix in BKext function --- .travis.yml | 2 +- makefile.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 85dd1fb7f..e9838b1ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ jobs: compiler: clang script: - - ./makefile.sh --NO_GH_API --VERSION=${VERSION} + - ./makefile.sh --NO_GH_API --VERSION=${VERSION} --PRE_RELEASE=Kext deploy: provider: releases diff --git a/makefile.sh b/makefile.sh index d52deea06..ea253e95b 100755 --- a/makefile.sh +++ b/makefile.sh @@ -256,7 +256,6 @@ function BKextHelper() { cd "$2" || exit 1 if [[ "$2" == "VoodooPS2" ]]; then cp -R "../VoodooInput" "./" || copyErr - # FIXME: the following line cannot work on travis-ci if the commit is tagged, help wanted. xcodebuild -scheme VoodooPS2Controller -configuration Release -derivedDataPath build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO >/dev/null 2>&1 || buildErr "$2" cp -R ${PATH_TO_REL_PS2}*.kext "../" || copyErr elif [ "$2" == "VirtualSMC" ]; then @@ -557,6 +556,8 @@ function Enjoy() { } function BKext() { + local TRAVIS_TAG="" + if [[ ! -d "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk" ]]; then echo "${green}[${reset}${blue}${bold} Downloading MacOSX10.12.sdk ${reset}${green}]${reset}" echo "${cyan}"