Skip to content

Commit

Permalink
ci: do test carthage build for different Xcode versions
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP authored Sep 18, 2024
1 parent 4152d62 commit 9dabe45
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,22 @@ jobs:
name: Carthage Build
needs: test
runs-on: macos-14
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
xcode: [ '15.4' ]
experimental: [ false ]
include:
- xcode: '14.3.1'
experimental: false
- xcode: '16.1'
experimental: true
steps:
- uses: actions/checkout@v4

- name: Use Xcode ${{ env.XCODE_VERSION }}
run: sudo xcode-select -switch /Applications/Xcode_${XCODE_VERSION}.app
- name: Use Xcode ${{ matrix.xcode }}
run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app

- uses: ruby/setup-ruby@v1
with:
Expand Down Expand Up @@ -227,6 +238,8 @@ jobs:

- run: bundle exec fastlane ios samples_build

- run:

release:
name: Release
if: github.event_name == 'release'
Expand Down

0 comments on commit 9dabe45

Please sign in to comment.