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 ]
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches: [ main ]
@ -46,8 +48,13 @@ jobs:
key: ${{ runner.os }}-${{ matrix.scheme }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: ${{ runner.os }}-${{ matrix.scheme }}-spm-
- name: xcodebuild!
run: |
- name: Build
uses: nick-fields/retry@v2
with:
max_attempts: 3
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:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches: [ main ]