Skip to content

Commit ec44b90

Browse files
committed
fix: make ci parallel
1 parent f8732c1 commit ec44b90

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/build-app.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ concurrency:
1515
jobs:
1616
build:
1717
runs-on: macos-14
18-
1918
steps:
2019
- name: Checkout Repository
2120
uses: actions/checkout@v2
@@ -25,11 +24,19 @@ jobs:
2524
with:
2625
xcode-version: 15
2726

28-
- name: Install XCBeautify
29-
run: brew install xcbeautify
27+
- name: Build
28+
run: set -o pipefail && xcodebuild -scheme MiniSim -destination 'platform=macOS' -skipPackagePluginValidation -skipMacroValidation build COMPILER_INDEX_STORE_ENABLE=NO | xcbeautify --renderer github-actions
3029

31-
- name: Test
32-
run: set -o pipefail && xcodebuild -scheme MiniSim -destination 'platform=macOS' -skipPackagePluginValidation -skipMacroValidation test COMPILER_INDEX_STORE_ENABLE=NO | xcbeautify
30+
test:
31+
runs-on: macos-14
32+
steps:
33+
- name: Checkout Repository
34+
uses: actions/checkout@v2
3335

34-
- name: Build
35-
run: set -o pipefail && xcodebuild -scheme MiniSim -destination 'platform=macOS' -skipPackagePluginValidation -skipMacroValidation build COMPILER_INDEX_STORE_ENABLE=NO | xcbeautify
36+
- name: Set up Xcode
37+
uses: maxim-lobanov/setup-xcode@v1
38+
with:
39+
xcode-version: 15
40+
41+
- name: Test
42+
run: xcodebuild -scheme MiniSim -destination 'platform=macOS' -skipPackagePluginValidation -skipMacroValidation test COMPILER_INDEX_STORE_ENABLE=NO

0 commit comments

Comments
 (0)