Skip to content

Commit f53d82d

Browse files
authored
Create swift.yml
1 parent d37b2b1 commit f53d82d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/swift.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will build a Swift project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3+
4+
name: Swift
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
pull_request:
11+
branches:
12+
- main
13+
14+
jobs:
15+
build:
16+
runs-on: macos-latest
17+
strategy:
18+
matrix:
19+
triple:
20+
- "arm64-apple-ios"
21+
- "x86_64-apple-macosx"
22+
- "arm64-apple-watchos"
23+
- "arm64-apple-ios-macabi"
24+
- "arm64-apple-visionos"
25+
- "arm64-apple-tvos"
26+
steps:
27+
- name: Checkout Repository
28+
uses: actions/checkout@v4
29+
- name: Build Swift Package
30+
run: |
31+
swift build --triple ${{ matrix.triple }}

0 commit comments

Comments
 (0)