-
Notifications
You must be signed in to change notification settings - Fork 9
39 lines (38 loc) · 1.36 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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