-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: SwiftPM Build CI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
swiftpm_macos_test: | ||
name: Build with SwiftPM on macOS | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-13, macos-14] | ||
xcode-version: ["15.2"] | ||
target: ["Life", "SwiftBreak"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Xcode | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: ${{ matrix.xcode-version }} | ||
- uses: SwiftyLab/setup-swift@latest | ||
with: | ||
development: true | ||
swift-version: latest | ||
check-latest: true | ||
- name: Install Playdate SDK | ||
id: playdate | ||
uses: pd-rs/[email protected] | ||
with: | ||
version: 2.4.1 | ||
- name: Build with SwiftPM for ${{ matrix.TARGET }} | ||
working-directory: Examples/${{ matrix.TARGET }} | ||
run: | | ||
swift build -c release |
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