forked from acidanthera/AppleALC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 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
language: cpp
env:
global:
- secure: "lACMH9UalN+PPhuX8NN/qEbLldL63U84WkRiHkjTEaReYV1Fm/ksiVQJnYygE1+aaxSlOi75WoveBrAcJcRui2rUGccqy69/YtKXA5oxT90aUfosEEUHChoOdJvYlA/mKQirHYymrZgCt7TNkhq425YGs9fTmxZsipKCfdejFIfy86wVVMkZJ64bfDnqZQfF55ks5HkpRTRYdCVkwHrZoZVH6gbhbDlvqEQZLjIHq9H72A9wcI24Xjz7sjdJ6uMy1Ce3UOLvIWqisK5jkcq7U4yotj5iuhdW9rEjIsWIr6AZKrXZPmKrYwdlRBesG+UU2+2iB0ltE74iqMeU5Td9sSYrASLyKA6XmbiA95dikLMrYLTqvO58mLKUG87AN2bbEgqZXDauWTlxJzDbvecwEBJl8ecDtt5L2zcKjq7MYNb6+HQMFBSiWHEXF8rvk1s8E7B0MBbOzo6Fsn+fT+iUdp6nG33SBAwZoIbcpMYful48x7o0pfTkzOxZtMywW7e4dq+6Vmt1e37yDGi4895bPPEL9W7bfHGKwaRetxZ71Q2Xckj5wPZ1fYvln6+V5IzQLSNYOLLrXXGSCcOeaqA/FzUZhKlvpoSKUhZyuIAnpgaVcpcP13qOvlXg/YYtxe9wcXd8lGDp736B3fr/FaZhYKHmHTJV8pBRLV9X3KMblfA="
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: tFQgVI1RocYrMW4aaPrg3Pamsmbyb0XWb4YPUUYP/uTTVA3mM05bEHXpzUgo5Lg2UDsIrW6+eAJFLkx2IeB9Lw7RFoeRPBkAHVKzUDr5uXr7Fl98UlYHBV+vhCBQg3L/zmWnYGiEDROQ2SVtsA9wifZVFOFo4dIMP73G8ueSoKKS35s1GIIOs98c+T0S2fDIycoKgPRTUtI4XO/EuMON82ysxppmoN7XoO5lcgLfpHd7+3XQDwlwloGMNWbhARi4tLWrU1ANySPFs9aOzmb7DDKjMPgScdwcMY0X3si5I/IZ9NT8zBgHa6hwtcrob82p0Z3qomkmfJpju0hs6kXwOWRUJCR6BxMzx7L5QKBgzZ5fwoTaptkMjBeeaq9E7jEWP9kMdqJ39CU9YBLRo6l70OJVYT6KbSDbUJZhFzi7LP04hl+G6uXVUVRPxkNNef3lJ7kEzx/d0U+6TR6Lgw6R6iPLczOvvcu2ks8w606o2fxOcCW5wFMm6YJif2qRE3274amT88rb/CO+L0ePq8rVZmCrJnGXzsPWW0JGxXMYleP8KDd54296u3G2aEjvaq2a4G1aLiMkGsHGshmLmv9aVAavpVX3cIuxRepq58Bgul3tWLKb+UJ98q8IAjn5m9qgdBYmJBDL5Ep5XXQ6QwKEvaCWTG2k11pP8xD8SqilcNQ=
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 AppleALC -configuration Debug CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- xcodebuild analyze -quiet -scheme AppleALC -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/AppleALC"
description: "AppleALC"
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