Update ci.yml (#778)

This commit is contained in:
Ethan Pippin 2023-05-16 16:26:33 -06:00 committed by GitHub
parent a58b3f0b88
commit ce7ad236fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 5 deletions

View File

@ -5,6 +5,8 @@ on:
branches: [ main ] branches: [ main ]
pull_request: pull_request:
types: types:
- opened
- reopened
- synchronize - synchronize
- ready_for_review - ready_for_review
branches: [ main ] branches: [ main ]
@ -46,9 +48,14 @@ jobs:
key: ${{ runner.os }}-${{ matrix.scheme }}-spm-${{ hashFiles('**/Package.resolved') }} key: ${{ runner.os }}-${{ matrix.scheme }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: ${{ runner.os }}-${{ matrix.scheme }}-spm- restore-keys: ${{ runner.os }}-${{ matrix.scheme }}-spm-
- name: xcodebuild! - name: Build
run: | uses: nick-fields/retry@v2
xcodebuild build -project "Swiftfin.xcodeproj" \ with:
-scheme "${{ matrix.scheme }}" \ max_attempts: 3
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO retry_on: error
timeout_minutes: 60
command: |
xcodebuild build -project "Swiftfin.xcodeproj" \
-scheme "${{ matrix.scheme }}" \
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO

View File

@ -3,6 +3,8 @@ name: "Lint 🧹"
on: on:
pull_request: pull_request:
types: types:
- opened
- reopened
- synchronize - synchronize
- ready_for_review - ready_for_review
branches: [ main ] branches: [ main ]