Skip to content

Commit a2d5ee1

Browse files
committed
Update CI build
1 parent d4e8f6d commit a2d5ee1

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
@@ -8,10 +8,10 @@ on:
88
jobs:
99
build:
1010
name: Build and test
11-
runs-on: macos-12
11+
runs-on: [self-hosted, macOS, ARM64]
1212
env:
1313
DERIVED_DATA_PATH: 'DerivedData'
14-
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
14+
DEVICE: 'iPhone 15 Pro'
1515
steps:
1616
- uses: actions/checkout@v3
1717
- uses: actions/cache@v3
@@ -25,7 +25,7 @@ jobs:
2525
./Scripts/process.sh
2626
exit $?
2727
- name: Build and test
28-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -scheme 'CryptomatorCryptoLib' -destination 'platform=macOS' -derivedDataPath $DERIVED_DATA_PATH -enableCodeCoverage YES clean test | xcpretty
28+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -scheme 'CryptomatorCryptoLib' -destination 'platform=macOS' -derivedDataPath $DERIVED_DATA_PATH -enableCodeCoverage YES clean test | xcbeautify
2929
- name: Upload code coverage report
3030
run: |
3131
gem install slather
@@ -37,7 +37,7 @@ jobs:
3737

3838
release:
3939
name: Deploy and draft a release
40-
runs-on: macos-12
40+
runs-on: macos-latest
4141
needs: build
4242
if: startsWith(github.ref, 'refs/tags/')
4343
steps:

0 commit comments

Comments
 (0)