-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 942 Bytes
/
test.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
name: Multiplatform test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: GitHub Action for SwiftLint
uses: norio-nomura/[email protected]
Test:
# TODO: waiting for MacOS 14 release
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Xcode Setup
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Build
run: |
xcodebuild build -project Swiftly.xcodeproj -scheme Swiftly clean build -sdk iphoneos CODE_SIGNING_ALLOWED=No -skipMacroValidation
- name: Run tests
run: |
xcodebuild test -project Swiftly.xcodeproj -scheme Swiftly clean build -sdk iphoneos -destination "platform=iOS Simulator,OS=17.1,name=iPhone 15 Pro" -skipMacroValidation CODE_SIGNING_ALLOWED=No