Skip to content

Commit

Permalink
Run on Swift 5.2, 5.3 and 5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso committed Feb 7, 2024
1 parent 69098bb commit 7f728ea
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,22 @@ jobs:
build:
strategy:
matrix:
swift: ['5.2', '5.9']
swift: ['5.2', '5.3', '5.9']
include:
- swift: '5.2'
macos: 'macos-11'
xcode-path: '/Applications/Xcode_11.7.app'
- swift: '5.3'
macos: 'macos-11'
xcode-path: '/Applications/Xcode_12.4.app'
- swift: '5.9'
xcode-path: '/Applications/Xcode_15.2.app'
macos: 'macos-14'

env:
DEVELOPER_DIR: '/Applications/Xcode_15.2.app'
DEVELOPER_DIR: ${{ matrix.xcode-path}}

runs-on: macos-14
runs-on: ${{ matrix.macos }}

steps:
- name: checkout
Expand Down Expand Up @@ -55,5 +65,9 @@ jobs:
{
echo "# Test Report (Swift ${{ matrix.swift }})"
echo ""
echo "macOS \`${{ matrix.macos }}\` "
echo "Xcode \`${{ matrix.xcode-path }}\` "
echo "Swift ${{ matrix.swift }} "
echo ""
echo "Unit Tests: <${{ steps.test-report.outputs.url_html }}>"
} >> $GITHUB_STEP_SUMMARY

0 comments on commit 7f728ea

Please sign in to comment.