Skip to content

Commit

Permalink
Xcode 16
Browse files Browse the repository at this point in the history
  • Loading branch information
swhitty committed Aug 19, 2024
1 parent 99ea845 commit 37f8bc2
Showing 1 changed file with 26 additions and 10 deletions.
36 changes: 26 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
workflow_dispatch:

jobs:
xcode_15_2:
xcode_16:
runs-on: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v4
- name: 🔍 Xcode Select
run: |
XCODE_PATH=`mdfind "kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode' && kMDItemVersion == '16.0'" -onlyin /Applications | head -1`
echo "DEVELOPER_DIR=$XCODE_PATH/Contents/Developer" >> $GITHUB_ENV
- name: Version
run: swift --version
- name: Build
Expand All @@ -27,10 +29,24 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage_report.lcov

xcode_14_3_1:
runs-on: macos-13
xcode_15_4:
runs-on: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Version
run: swift --version
- name: Build
run: swift build --build-tests
- name: Test
run: swift test --skip-build

xcode_15_2:
runs-on: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode_14.3.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -54,9 +70,9 @@ jobs:
- name: Test
run: swift test --skip-build

linux_swift_5_9_2:
linux_swift_5_9:
runs-on: ubuntu-latest
container: swift:5.9.2
container: swift:5.9
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -67,9 +83,9 @@ jobs:
- name: Test
run: swift test --skip-build

linux_swift_5_8:
linux_swift_6_0:
runs-on: ubuntu-latest
container: swift:5.8
container: swiftlang/swift:nightly-6.0-jammy
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 37f8bc2

Please sign in to comment.