Skip to content

Commit 4cc016c

Browse files
Add ci job to check Xcode compatibility
1 parent 0176d27 commit 4cc016c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Build and Test
99
strategy:
1010
matrix:
11-
os: [macos-10.15, macos-11, ubuntu-18.04, ubuntu-20.04]
11+
os: [macos-11, macos-11, ubuntu-18.04, ubuntu-20.04]
1212
toolchain:
1313
- wasm-5.5.0-RELEASE
1414
runs-on: ${{ matrix.os }}
@@ -26,3 +26,12 @@ jobs:
2626
SWIFT_VERSION=${{ matrix.toolchain }} make bootstrap
2727
echo ${{ matrix.toolchain }} > .swift-version
2828
make test
29+
native-build:
30+
# Check native build to make it easy to develop applications by Xcode
31+
name: Build for native target
32+
runs-on: macos-10.15
33+
steps:
34+
- uses: actions/checkout@v2
35+
- run: swift build
36+
env:
37+
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer/

0 commit comments

Comments
 (0)