forked from acidanthera/BrightnessKeys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (30 loc) · 1.96 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: cpp
matrix:
include:
- os: osx
name: "Build"
osx_image: xcode11.6
compiler: clang
script:
- git clone https://github.com/acidanthera/MacKernelSDK
- src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh) && eval "$src" || exit 1
- xcodebuild -jobs 1 -configuration Debug
- xcodebuild -jobs 1 -configuration Release
deploy:
provider: releases
skip_cleanup: true
file: "build/*/*.zip"
file_glob: true
api_key:
secure: mV9Io9CT8ej8gWk6yz0i1p/VecHsDHSk55JIBUPKX6oge4ME1wYj4q1HLogiNn3dlNUeIPuAi0793NQwcUgAvjFgvTVhFZM89cZon0nCjMRJ0aAZQtuCis0zCtT2joe2n+kc8jvULJqM9Mp5psfiN4LBVO0feT+mbkRMyaOE1J3LfX/zbKpYbTgadEMQBGSlVFeySJPWknUZzo9OGVQAhW+I7K49nwsXW6it2mlnk/SH+XyUZgNv+LOJJzt5pDLEyOa8ZE9cH7jHD+lLBni6Lu/sCLRtj0fWAJflmME7FnVIhiNzwcD8va42/DtbFsF3WWzWeGssvMpVlr7QjOCkURoYgd8XFzdnc/ngv5QwcwH8CiFXjlimDO+q7dFoAysXhmcLKoNowfnn51OyI2cI5eHRgVPpsRybRQAxBqJIHzhgymiBKLQvFqQ4EzxsaklA2WQ5q7BfRjhQJDfRpQHwc/MJprNGyBy/zE9ie6WWn70lz4m+vkl/5mUSQaT9ygrhjUOROwO8hgGdujx6IvnhEUgw9CZBAW8UhcM8mzIU145R9dfAYQW4cvHaqlsjhoQgcdUNsDjCXEnwme7RHpVoHNFjZ/WDwdtEvyc4tBbCReYKsKYT7O3W9jltfrIq3ppAFD68cW8mujxG7CcnTC9Xj5xsB5E2nOzmlFdFm3iNLiE=
on:
tags: true
- os: osx
name: "Analyze Clang"
osx_image: xcode11
compiler: clang
script:
- git clone https://github.com/acidanthera/MacKernelSDK
- src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh) && eval "$src" || exit 1
- xcodebuild analyze -quiet -scheme BrightnessKeys -configuration Debug CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- xcodebuild analyze -quiet -scheme BrightnessKeys -configuration Release CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]