Set separate scratch path

This commit is contained in:
Max Ammann 2022-10-23 16:54:00 +02:00
parent 3bc9d8e4d2
commit cec73c8486
2 changed files with 3 additions and 3 deletions

View File

@ -47,8 +47,8 @@ jobs:
run: cd apple/xcode && xcodebuild -scheme "example (iOS)" -arch arm64 -sdk iphoneos build CODE_SIGNING_ALLOWED=NO
- name: Build Swift Package (arm64)
shell: bash
run: cd apple/MapLibreRs && rm -rf .build && swift build -v --arch=arm64
run: cd apple/MapLibreRs && swift build -v --arch=arm64 --scratch-path .build-arm64
- name: Build Swift Package (x86_64)
shell: bash
run: cd apple/MapLibreRs && rm -rf .build && swift build -v --arch=x86_64
run: cd apple/MapLibreRs && swift build -v --arch=x86_64 --scratch-path .build-x86_64

View File

@ -1,5 +1,5 @@
.DS_Store
/.build
/.build*
/Packages
/*.xcodeproj
xcuserdata/