We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f900ddb commit faf38a4Copy full SHA for faf38a4
1 file changed
.github/workflows/build-and-test.yml
@@ -0,0 +1,35 @@
1
+name: Build and Test
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build:
12
+ name: Build and Test using any available macOS
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ os: [macos-latest]
17
+ xcode: [latest-stable]
18
+ runs-on: ${{ matrix.os }}
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v3
22
23
+ - name: Build
24
+ env:
25
+ scheme: ${{ 'XcodeTargetGraphGen' }}
26
+ platform: ${{ 'macOS' }}
27
+ run: |
28
+ xcodebuild build-for-testing -scheme "$scheme" -destination "platform=$platform"
29
30
+ - name: Test
31
32
33
34
35
+ xcodebuild test-without-building -scheme "$scheme" -destination "platform=$platform"
0 commit comments