Skip to content

Commit

Permalink
CI: Update travis.yml
Browse files Browse the repository at this point in the history
* makefile: Minor fix in BKext function
  • Loading branch information
stevezhengshiqi committed Jun 15, 2020
1 parent b150020 commit 71f25a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion makefile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit 71f25a6

Please sign in to comment.