-
Notifications
You must be signed in to change notification settings - Fork 21
41 lines (39 loc) · 1.03 KB
/
build.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
39
40
41
name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Build
runs-on: macos-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Setup Swift
uses: swift-actions/setup-swift@v1
with:
swift-version: "5.9"
# - name: Test library
# run: swift test
- name: Build library
run: swift build --target FalClient --configuration release
# samples:
# name: Build samples
# needs: build
# runs-on: macos-latest
# steps:
# - name: Checkout project
# uses: actions/checkout@v4
# - name: Setup Swift
# uses: swift-actions/setup-swift@v1
# with:
# swift-version: "5.9"
# - name: Build basic app
# uses: sersoft-gmbh/xcodebuild-action@v3
# with:
# project: Sources/Samples/FalSampleApp/FalSampleApp.xcodeproj
# scheme: FalSampleApp
# destination: platform=iOS Simulator,name=iPhone 13,OS=16.2
# action: build