Skip to content

Commit e4132f4

Browse files
committed
fix workflow
1 parent 1861203 commit e4132f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515
- name: Build macOS
16-
run: xcodebuild -scheme EasyMetalShader build -destination "generic/platform=macOS"
16+
run: set -o pipefail && xcodebuild -skipMacroValidation -scheme EasyMetalShader build -destination "generic/platform=macOS,arch=arm64,variant=macOS" | xcpretty
1717
- name: Build iOS
18-
run: xcodebuild -scheme EasyMetalShader build -destination "generic/platform=iOS"
18+
run: set -o pipefail && xcodebuild -skipMacroValidation -scheme EasyMetalShader build -destination "generic/platform=iOS" | xcpretty
1919
test:
2020
runs-on: macos-14
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Test macOS
24-
run: xcodebuild -scheme EasyMetalShaderTests test -destination "platform=macOS,arch=x86_64"
24+
run: set -o pipefail && xcodebuild -skipMacroValidation -scheme EasyMetalShaderTests test -destination "platform=macOS,arch=arm64" | xcpretty
2525
- name: Test iOS
26-
run: xcodebuild -scheme EasyMetalShaderTests test -destination "name=iPhone 14 Pro"
26+
run: set -o pipefail && xcodebuild -skipMacroValidation -scheme EasyMetalShaderTests test -destination "platform=iOS" | xcpretty

0 commit comments

Comments
 (0)