Merge pull request #21 from marcprux/main #2
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: 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 | |