From efd27d73e42592af5d34e483b9d10779b257cd25 Mon Sep 17 00:00:00 2001 From: zhen-zen <66577170+zhen-zen@users.noreply.github.com> Date: Wed, 2 Dec 2020 13:14:20 -0800 Subject: [PATCH] Minor improvements on GitHub Actions integration (#63) --- .github/workflows/main.yml | 20 ++++++++++---------- README.md | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f4729263..f562a4f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,14 +17,14 @@ jobs: env: JOB_TYPE: BUILD steps: - - name: CI Bootstrap - run: | - src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1 - uses: actions/checkout@v2 - uses: actions/checkout@v2 with: repository: acidanthera/MacKernelSDK path: MacKernelSDK + - name: CI Bootstrap + run: | + src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1 - run: xcodebuild -jobs 1 -configuration Debug - run: xcodebuild -jobs 1 -configuration Release @@ -49,14 +49,14 @@ jobs: env: JOB_TYPE: ANALYZE steps: - - name: CI Bootstrap - run: | - src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1 - uses: actions/checkout@v2 - uses: actions/checkout@v2 with: repository: acidanthera/MacKernelSDK path: MacKernelSDK + - name: CI Bootstrap + run: | + src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1 - 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")" = "" ] - 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: runs-on: macos-latest env: JOB_TYPE: COVERITY - if: github.event_name != 'pull_request' + if: github.repository_owner == 'acidanthera' && github.event_name != 'pull_request' steps: - - name: CI Bootstrap - run: | - src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1 - uses: actions/checkout@v2 - uses: actions/checkout@v2 with: repository: acidanthera/MacKernelSDK path: MacKernelSDK + - name: CI Bootstrap + run: | + src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1 - name: Run Coverity run: | diff --git a/README.md b/README.md index f7e585e3..fe5ecd8f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Lilu ==== -[![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) +[![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) An open source kernel extension bringing a platform for arbitrary kext, library, and program patching throughout the system for macOS.