-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from marcprux/main
Cross-platform CI and conditional import of CloudKit
- Loading branch information
Showing
4 changed files
with
46 additions
and
2 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,39 @@ | ||
name: Forked ci | ||
on: | ||
push: | ||
workflow_dispatch: | ||
pull_request: | ||
jobs: | ||
macos-ios: | ||
runs-on: macos-15 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Test Swift Package on macOS" | ||
run: swift test | ||
- name: "Build Swift Package on iOS" | ||
run: xcodebuild build -skipMacroValidation -skipPackagePluginValidation -sdk "iphonesimulator" -destination "platform=iOS Simulator,name=iPhone 16" -scheme "Forked-Package" | ||
#run: xcodebuild test -skipMacroValidation -skipPackagePluginValidation -sdk "iphonesimulator" -destination "platform=iOS Simulator,name=iPhone 16" -scheme "Forked-Package" | ||
linux-android: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Test Swift Package on Linux" | ||
run: swift test | ||
- name: "Build Swift Package on Android" | ||
uses: skiptools/swift-android-action@v2 | ||
with: | ||
# Android SDK does not yet support Testing framework | ||
build-tests: false | ||
windows: | ||
runs-on: windows-latest | ||
# Error: error: invalid path 'docs/Forked/data/documentation/forked/atomicrepository/content(of:at:).json' | ||
if: false | ||
steps: | ||
- uses: compnerd/gha-setup-swift@main | ||
with: | ||
branch: swift-6.0.3-release | ||
tag: 6.0.3-RELEASE | ||
- uses: actions/checkout@v4 | ||
- name: "Test Swift Package on Windows" | ||
run: swift test | ||
|
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
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
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