Skip to content

Commit efd27d7

Browse files
authored
Minor improvements on GitHub Actions integration (#63)
1 parent e4638e5 commit efd27d7

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
env:
1818
JOB_TYPE: BUILD
1919
steps:
20-
- name: CI Bootstrap
21-
run: |
22-
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
2320
- uses: actions/checkout@v2
2421
- uses: actions/checkout@v2
2522
with:
2623
repository: acidanthera/MacKernelSDK
2724
path: MacKernelSDK
25+
- name: CI Bootstrap
26+
run: |
27+
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
2828
2929
- run: xcodebuild -jobs 1 -configuration Debug
3030
- run: xcodebuild -jobs 1 -configuration Release
@@ -49,14 +49,14 @@ jobs:
4949
env:
5050
JOB_TYPE: ANALYZE
5151
steps:
52-
- name: CI Bootstrap
53-
run: |
54-
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
5552
- uses: actions/checkout@v2
5653
- uses: actions/checkout@v2
5754
with:
5855
repository: acidanthera/MacKernelSDK
5956
path: MacKernelSDK
57+
- name: CI Bootstrap
58+
run: |
59+
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
6060
6161
- run: xcodebuild analyze -quiet -scheme Lilu -configuration Debug CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
6262
- run: xcodebuild analyze -quiet -scheme Lilu -configuration Release CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
@@ -66,16 +66,16 @@ jobs:
6666
runs-on: macos-latest
6767
env:
6868
JOB_TYPE: COVERITY
69-
if: github.event_name != 'pull_request'
69+
if: github.repository_owner == 'acidanthera' && github.event_name != 'pull_request'
7070
steps:
71-
- name: CI Bootstrap
72-
run: |
73-
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
7471
- uses: actions/checkout@v2
7572
- uses: actions/checkout@v2
7673
with:
7774
repository: acidanthera/MacKernelSDK
7875
path: MacKernelSDK
76+
- name: CI Bootstrap
77+
run: |
78+
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
7979
8080
- name: Run Coverity
8181
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Lilu
22
====
33

4-
[![Build Status](https://travis-ci.com/acidanthera/Lilu.svg?branch=master)](https://travis-ci.com/acidanthera/Lilu) [![Scan Status](https://scan.coverity.com/projects/16137/badge.svg?flat=1)](https://scan.coverity.com/projects/16137)
4+
[![Build Status](https://github.com/acidanthera/Lilu/workflows/CI/badge.svg?branch=master)](https://github.com/acidanthera/Lilu/actions) [![Scan Status](https://scan.coverity.com/projects/16137/badge.svg?flat=1)](https://scan.coverity.com/projects/16137)
55

66
An open source kernel extension bringing a platform for arbitrary kext, library, and program patching throughout the system for macOS.
77

0 commit comments

Comments
 (0)