Skip to content

Commit

Permalink
Misc workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualEhrmanntraut committed May 22, 2024
1 parent ab24cd1 commit b967a13
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
build:
name: Build
runs-on: macos-latest
permissions:
contents: write
env:
JOB_TYPE: BUILD
steps:
Expand All @@ -24,15 +26,16 @@ jobs:
run: src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
- name: Lilu Bootstrap
run: src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh) && eval "$src" || exit 1
- run: xcodebuild -configuration Debug
- run: xcodebuild -configuration Release
- run: xcodebuild -configuration Debug -arch x86_64 build
- run: xcodebuild -configuration Release -arch x86_64 build
- name: Upload build
uses: svenstaro/[email protected]
if: github.event_name != 'pull_request'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/*/*.zip
tag: ${{ github.event_name == 'release' && github.ref || 'nightly' }}
body: ${{ github.event_name != 'release' && github.event.head_commit.message || '' }}
file_glob: true
prerelease: ${{ github.event_name != 'release' }}
overwrite: true
Expand All @@ -50,5 +53,5 @@ jobs:
run: src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
- name: Lilu Bootstrap
run: src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh) && eval "$src" || exit 1
- run: xcodebuild analyze -quiet -scheme NootRX -configuration Debug CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- run: xcodebuild analyze -quiet -scheme NootRX -configuration Release CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- run: xcodebuild analyze -quiet -scheme NootRX -configuration Debug -arch x86_64 CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- run: xcodebuild analyze -quiet -scheme NootRX -configuration Release -arch x86_64 CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]

0 comments on commit b967a13

Please sign in to comment.