Skip to content

Commit

Permalink
update CI to macos 14 and Xcode 16 (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
arielelkin authored Feb 7, 2025
1 parent c492781 commit d4800e5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/primary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:

spm:
name: Swift Package Manager
runs-on: macOS-13
runs-on: macOS-14
steps:
- uses: actions/checkout@v4
- name: Swift Build
run: swift build

cocoapods:
name: Cocoapods
runs-on: macOS-13
runs-on: macOS-14
steps:
- uses: actions/checkout@v4
- name: Lint Podspec
Expand Down
5 changes: 2 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.3
// swift-tools-version:5.9

import PackageDescription

Expand All @@ -9,15 +9,14 @@ let package = Package(
.iOS(.v9),
.tvOS(.v10),
.watchOS(.v3),
.visionOS(.v1)
],
products: [
.library(
name: "PocketSVG",
type: .dynamic,
targets: ["PocketSVG"])
],
dependencies: [
],
targets: [
.target(
name: "PocketSVG",
Expand Down
4 changes: 1 addition & 3 deletions ci/build_demos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ set -xeo pipefail
rm -rf .build/
rm -rf derived_data/

IOS_DESTINATION="platform=iOS Simulator,name=iPhone 15"

echo "Build iOS demo"
xcodebuild \
-workspace Demos/Demos.xcworkspace \
-destination "$IOS_DESTINATION" \
-destination "platform=iOS Simulator,name=iPhone 15" \
-scheme Demo-iOS \
-derivedDataPath derived_data \
'OTHER_LDFLAGS=$(inherited) -lxml2' \
Expand Down
6 changes: 0 additions & 6 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,3 @@ xcodebuild \
-destination "platform=iOS Simulator,name=iPhone 15" \
test \
| xcbeautify

xcodebuild \
-scheme PocketSVG \
-destination "platform=iOS Simulator,name=iPhone 15" \
test \
| xcbeautify

0 comments on commit d4800e5

Please sign in to comment.