Skip to content

Commit

Permalink
Enable Swift 6 and build with Xcode 16 and macOS 15 to test documenta…
Browse files Browse the repository at this point in the history
…tion hosting
  • Loading branch information
danielsaidi committed Oct 4, 2024
1 parent f48a073 commit ce385cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ env:

jobs:
build:
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.2.0'
xcode-version: '16.0'
- name: Build iOS
run: xcodebuild -scheme $SCHEME -derivedDataPath .build -destination 'generic/platform=iOS';
- name: Build macOS
Expand All @@ -31,4 +31,4 @@ jobs:
- name: Build visionOS
run: xcodebuild -scheme $SCHEME -derivedDataPath .build -destination 'generic/platform=xrOS';
- name: Test iOS
run: xcodebuild test -scheme $SCHEME -derivedDataPath .build -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' -enableCodeCoverage YES;
run: xcodebuild test -scheme $SCHEME -derivedDataPath .build -destination 'platform=iOS Simulator,name=iPhone 16' -enableCodeCoverage YES;
4 changes: 2 additions & 2 deletions .github/workflows/docc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: macos-14
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Select Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.2.0'
xcode-version: '16.0'
- name: Build DocC
run: |
swift package resolve;
Expand Down
7 changes: 2 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.9
// swift-tools-version:6.0

import PackageDescription

Expand All @@ -21,10 +21,7 @@ let package = Package(
targets: [
.target(
name: "DeckKit",
dependencies: [],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency")
]
dependencies: []
),
.testTarget(
name: "DeckKitTests",
Expand Down

0 comments on commit ce385cd

Please sign in to comment.