-
Notifications
You must be signed in to change notification settings - Fork 635
34 lines (27 loc) · 741 Bytes
/
Copy pathswift.yml
File metadata and controls
34 lines (27 loc) · 741 Bytes
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
name: Swift
on:
push:
branches: [ master, new-version ]
pull_request:
jobs:
build-and-test:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode.app
- name: Build
run: swift build
- name: Test
run: swift test
- name: Build Showcase App
run: |
cd Examples/SwiftUIChartsShowcase
xcodebuild \
-project SwiftUIChartsShowcase.xcodeproj \
-scheme SwiftUIChartsShowcase \
-sdk iphonesimulator \
-destination "generic/platform=iOS Simulator" \
CODE_SIGNING_ALLOWED=NO \
build