File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Swift project on macOS and Linux
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3
+ name : swift-openapi-lambda-build
4
+
5
+ on :
6
+ push :
7
+ branches : [ "main" ]
8
+ pull_request :
9
+ types : [opened, reopened, synchronize]
10
+
11
+ jobs :
12
+ build-macos :
13
+ env :
14
+ # https://github.com/actions/runner-images/tree/main/images/macos
15
+ DEVELOPER_DIR : /Applications/Xcode_16.app/Contents/Developer
16
+
17
+ runs-on : macos-15-arm64
18
+ # runs-on: macos-15
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ - name : Build
22
+ run : swift build -v
23
+ - name : Run tests
24
+ run : swift test -v
25
+ build-linux :
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - uses : actions/checkout@v4
29
+ - name : Build
30
+ run : swift build -v
31
+ - name : Run tests
32
+ run : swift test -v
You can’t perform that action at this time.
0 commit comments