Skip to content

Commit 42c7c28

Browse files
committed
Update CI build
1 parent 340bc67 commit 42c7c28

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,14 @@ jobs:
2020
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
2121
restore-keys: |
2222
${{ runner.os }}-spm-
23-
- name: Install SwiftLint
24-
run: brew install swiftlint
2523
- name: Run process.sh script
2624
run: |
2725
./Scripts/process.sh
2826
exit $?
29-
- name: Select Xcode 15.3
30-
run: sudo xcode-select -s /Applications/Xcode_15.3.app
3127
- name: Build
32-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild clean build-for-testing -scheme 'CryptomatorCloudAccess' -destination "name=$DEVICE" -derivedDataPath $DERIVED_DATA_PATH -enableCodeCoverage YES | xcpretty
28+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild clean build-for-testing -scheme 'CryptomatorCloudAccess' -destination "name=$DEVICE" -derivedDataPath $DERIVED_DATA_PATH -enableCodeCoverage YES | xcbeautify
3329
- name: Test
34-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -xctestrun $(find . -type f -name "*.xctestrun") -destination "name=$DEVICE" -derivedDataPath $DERIVED_DATA_PATH | xcpretty
30+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -xctestrun $(find . -type f -name "*.xctestrun") -destination "name=$DEVICE" -derivedDataPath $DERIVED_DATA_PATH | xcbeautify
3531
- name: Upload code coverage report
3632
run: |
3733
gem install slather
@@ -79,10 +75,8 @@ jobs:
7975
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
8076
restore-keys: |
8177
${{ runner.os }}-spm-
82-
- name: Select Xcode 15.3
83-
run: sudo xcode-select -s /Applications/Xcode_15.3.app
8478
- name: Run integration tests
85-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -scheme '${{ matrix.scheme-name }}' -destination "name=$DEVICE" -derivedDataPath $DERIVED_DATA_PATH test | xcpretty
79+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -scheme '${{ matrix.scheme-name }}' -destination "name=$DEVICE" -derivedDataPath $DERIVED_DATA_PATH test | xcbeautify
8680
env:
8781
BOX_CLIENT_ID: ${{ secrets.BOX_CLIENT_ID }}
8882
BOX_CLIENT_SECRET: ${{ secrets.BOX_CLIENT_SECRET }}
@@ -107,7 +101,7 @@ jobs:
107101

108102
release:
109103
name: Deploy and draft a release
110-
runs-on: macos-14
104+
runs-on: macos-latest
111105
needs: build
112106
if: startsWith(github.ref, 'refs/tags/')
113107
steps:

0 commit comments

Comments
 (0)