forked from acidanthera/CPUFriend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
66 lines (55 loc) · 3.79 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
language: cpp
env:
global:
- secure: "ii7o+ukknGl/uVE7rLrCPYZkcz28ItobKW21FZMAPYDgxXHeiqsP2VTKxXms/ZoZDtj6raRbk5jPnfc1KPAMjHBVL3jsT8cRA519OtVEjB16U94f3tWp0h+LLro3cOyH0CThxn8+LNpYX+EF4kfx0HKvDor5euhkbWlJiW7izETQW8LKdbaIZf1e/wfXz4+nnpjMM30D1vgOkK/48X1knunBG/HoqUHMtnPZgR78ymYmtvbJDhbyk/uUsBnfOYBLCnfSJOxIbPTCkv+JftKTIJk1tWrCAuOAOY+b6akXCWTkVSOYpODTKqPNxC5mFUd15qBuRLsD3j0tfym7J7z7osz+ChvbWLljKJHoJti10dO9pJ1fhxlqOTCOs+bP3EqNBaRyQ+APbMY1qdydI/MAk7YLm+oaXwIhhUL7I8bqZ4tNexGxErQmrUhAPrhkfLr/LP7cTvjrQ/fOpVi+yGup6Kh1HSDdhiFteVyBGoG2HTWXkUKeCjlk/2zp8ZMBkMCXCzVH9Rv9ZgbAZWbcanOpKKAvJp1shZslraEXvHyLQzgd+JRs5lrjhz/bSHTQdk9AizmG24cIlHaJacPOyEfrR4O+pruybeJ46At7YenTKtq7G2CWptoJ1EcmFcQVaqrfH4EwOhmhlDRDsbnKzKURqLaUYbQugC5BGZnXjqbzwQg="
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: "Z6YW75G5i6pj6Ne49yPVtfaopDP85MDNOwNsBtUieLsYtw8yu3JSSNigtRIkBaFhSCpOClh7cpsFSLJ1QwNuaHwfj63ZB96irsKtHEZ6K9wBIU4Pqoiv+iZ4jvoYpdr0VKwuH4rq3rsATmPWMYY9YYMjzAzlm/wlprBAz5uZTY2u59pKgunB9VJdMx08RVDUu2/ALznLlb6cCoqL16n0HiG/TJGzct0TL0W0ptj667/5O+19mIIIDNw03oV69u2Pu8mgyM8F80GFTxvp27nzdVh1Ic+Tlc/sfWHu9PAzGZO1h2m493dFLEmypTzA/MU+LgVp2WLPyxzpovydpaQPXFWY9CmaOy+PODRFm+AoRqa09d6K4aJ1UYCRgqFIIA+sQgEjakJqKfVTu1qbD2douIYHDZaiqNzj04RzTuJwMXjG8NUMYrEqg96ezyHqsQ4KYmAIllcah0JyyH1unrutQ9yoXf4ZwpMa7NkyROFf8k64Xoof9/9vcKONGrYqXgO89pq5VJvPlvzatUU5PSUW2xJyBF0ZrLlz2FoMGbZszW3sr6FeenMBxc4Fb+Nuoe30Fgen/k3JhfKv2sR6SJBPRUQe2RFQruJTwxTllnuKzuHWFeEph/AvObEt2P47Xh6vCQSLtH3Wz5IwmNCg3jdHvPjb2wiO54AkjM1ACStktMU="
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 CPUFriend -configuration Debug CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- xcodebuild analyze -quiet -scheme CPUFriend -configuration Release CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- os: osx
name: "Analyze Coverity"
osx_image: xcode10.2
compiler: clang
before_install:
- git clone https://github.com/acidanthera/MacKernelSDK
- curl -Ls https://entrust.com/root-certificates/entrust_l1k.cer -o ~/entrust_l1k.crt || exit 1
- curl -LS https://curl.haxx.se/ca/cacert.pem -o ~/cacert.pem || exit 1
- cat ~/entrust_l1k.crt >> ~/cacert.pem || exit 1
- echo "cacert=\"$HOME/cacert.pem\"" > ~/.curlrc || exit 1
- echo "ca_certificate=$HOME/cacert.pem" > ~/.wgetrc || exit 1
script:
- echo "This script runs coverity..."
addons:
coverity_scan:
project:
name: "acidanthera/CPUFriend"
description: "CPUFriend"
notification_email: $NOTIFICATION_EMAIL
build_command_prepend: "src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh) && eval \"$src\" || exit 1 ; src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/covstrap.sh) && eval \"$src\" || exit 1"
build_command: "xcodebuild -configuration Release"
branch_pattern: master