Skip to content

Commit

Permalink
Merge branch 'main' into deployment-target-macos-12
Browse files Browse the repository at this point in the history
  • Loading branch information
F1248 committed Jan 1, 2025
2 parents 5ca6961 + 8c5dffa commit 8d9c6d4
Show file tree
Hide file tree
Showing 7 changed files with 276 additions and 15 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/Build-Genius.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ env:
NSUnbufferedIO: YES

jobs:

Build-Genius:
name: Build Genius
runs-on: macos-15
Expand All @@ -38,14 +37,14 @@ jobs:
attestations: write

steps:

- name: Prepare
run: |
set -o pipefail
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -boolean true
- name: Checkout
uses: actions/checkout@main
with:
fetch-depth: 0

- name: Install SwiftFormat
run: |
Expand Down Expand Up @@ -79,8 +78,15 @@ jobs:
unzip xcbeautify.zip
echo "xcbeautify $(./xcbeautify --version) installed"
- name: Test Genius
run: |
set -o pipefail
xcodebuild test -scheme Genius -destination platform=macOS,arch=arm64 | ./xcbeautify --disable-logging --renderer github-actions
- name: Build Genius
run: xcodebuild archive -scheme Genius -destination generic/platform=macOS -archivePath Genius | tee xcodebuild.log | ./xcbeautify --disable-logging --renderer github-actions
run: |
set -o pipefail
xcodebuild archive -scheme Genius -destination generic/platform=macOS -archivePath Genius | tee xcodebuild.log | ./xcbeautify --disable-logging --renderer github-actions
- name: Run SwiftLint Analyzer Rules
run: ./swiftlint analyze --strict --reporter github-actions-logging --compiler-log-path xcodebuild.log Genius
Expand All @@ -102,7 +108,8 @@ jobs:
- name: Attest Build Provenance
uses: actions/attest-build-provenance@main
with: { subject-path: Genius.zip }
with:
subject-path: Genius.zip

- name: Upload Genius
uses: actions/upload-artifact@main
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/Trigger-Deploy-to-Pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ concurrency:
cancel-in-progress: true

jobs:

Trigger-Deploy-to-Pages:
name: Trigger Deploy to Pages
runs-on: macos-15

steps:

- name: Trigger Deploy to Pages
uses: actions/github-script@main
with:
Expand Down
Loading

0 comments on commit 8d9c6d4

Please sign in to comment.