CI: reduce jobs to 2 to help xcodebuild resolution. #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Swift (macOS arm64) | |
on: [push] | |
jobs: | |
build: | |
name: Swift ${{ matrix.swift }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-15] | |
swift: ["6.0.2"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🦦 Install Swift Bundler | |
run: | | |
curl -o swift-bundler -L https://github.com/wabiverse/wabi-swift-bundler/releases/download/v3.0.2/swift-bundler | |
chmod +x ./swift-bundler | |
sudo cp ./swift-bundler /usr/local/bin/ | |
rm ./swift-bundler | |
- name: 🧰 Enable Swift Macros | |
run: | | |
sudo defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES | |
sudo defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES | |
- name: 📦 Build & Bundle | |
run: swift bundler bundle -c release --xcodebuild Kraken --Xswiftpm -jobs --Xswiftpm 2 |