Skip to content

Commit

Permalink
Update ci.yml (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
LePips authored May 16, 2023
1 parent a58b3f0 commit ce7ad23
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [ main ]
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches: [ main ]
Expand Down Expand Up @@ -46,9 +48,14 @@ jobs:
key: ${{ runner.os }}-${{ matrix.scheme }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: ${{ runner.os }}-${{ matrix.scheme }}-spm-

- name: xcodebuild!
run: |
xcodebuild build -project "Swiftfin.xcodeproj" \
-scheme "${{ matrix.scheme }}" \
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
- 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
2 changes: 2 additions & 0 deletions .github/workflows/lint-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: "Lint 🧹"
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches: [ main ]
Expand Down

0 comments on commit ce7ad23

Please sign in to comment.