Skip to content

Commit

Permalink
Update swift version to 5.10 (#57)
Browse files Browse the repository at this point in the history
* chore: Update swift version to 5.10

* chore: Update xcode version on CI
  • Loading branch information
fummicc1 authored Sep 23, 2024
1 parent e64e8f2 commit bd4a038
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 75 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
test:
name: "Build CsvBuilder"
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -25,12 +25,12 @@ jobs:
set -o pipefail && \
xcodebuild -scheme CsvBuilder \
clean build test \
-destination 'platform=OS X,arch=x86_64' \
-destination 'platform=OS X,arch=arm64' \
| xcbeautify
- name: Build and Test (iOS)
run: |
set -o pipefail && \
xcodebuild -scheme CsvBuilder \
clean build test \
-destination 'platform=iOS Simulator,name=iPhone 13' \
-destination 'platform=iOS Simulator,name=iPhone 15' \
| xcbeautify
4 changes: 2 additions & 2 deletions .github/workflows/command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
test:
name: "Build Csv2ImgCmd"
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -25,5 +25,5 @@ jobs:
set -o pipefail && \
xcodebuild -scheme Csv2ImgCmd \
clean build test \
-destination 'platform=OS X,arch=x86_64' \
-destination 'platform=OS X,arch=arm64' \
| xcbeautify
6 changes: 3 additions & 3 deletions .github/workflows/lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
test:
name: "Build Csv2Img"
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -25,12 +25,12 @@ jobs:
set -o pipefail && \
xcodebuild -scheme Csv2Img \
clean build test \
-destination 'platform=OS X,arch=x86_64' \
-destination 'platform=OS X,arch=arm64' \
| xcbeautify
- name: Build and Test (iOS)
run: |
set -o pipefail && \
xcodebuild -scheme Csv2Img \
clean build test \
-destination 'platform=iOS Simulator,name=iPhone 13' \
-destination 'platform=iOS Simulator,name=iPhone 15' \
| xcbeautify
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
xcuserdata/
DerivedData/
.netrc
.vscode
.vscode

.index-build/
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
{
"object": {
"pins": [
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "f3c9084a71ef4376f2fabbdf1d3d90a49f1fabdb",
"version": "1.1.2"
}
},
{
"package": "SwiftDocCPlugin",
"repositoryURL": "https://github.com/apple/swift-docc-plugin",
"state": {
"branch": null,
"revision": "3303b164430d9a7055ba484c8ead67a52f7b74f6",
"version": "1.0.0"
}
},
{
"package": "swift-syntax",
"repositoryURL": "https://github.com/apple/swift-syntax",
"state": {
"branch": null,
"revision": "6ad4ea24b01559dde0773e3d091f1b9e36175036",
"version": "509.0.2"
}
"originHash" : "b5a609958d4527ce07000982912bd4609927f45277d7cb706c744970b7051f59",
"pins" : [
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "f3c9084a71ef4376f2fabbdf1d3d90a49f1fabdb",
"version" : "1.1.2"
}
]
},
"version": 1
},
{
"identity" : "swift-docc-plugin",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-docc-plugin",
"state" : {
"revision" : "3303b164430d9a7055ba484c8ead67a52f7b74f6",
"version" : "1.0.0"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-syntax",
"state" : {
"revision" : "2bc86522d115234d1f588efe2bcb4ce4be8f8b82",
"version" : "510.0.3"
}
}
],
"version" : 3
}
70 changes: 39 additions & 31 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,34 +1,42 @@
{
"object": {
"pins": [
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "f3c9084a71ef4376f2fabbdf1d3d90a49f1fabdb",
"version": "1.1.2"
}
},
{
"package": "SwiftDocCPlugin",
"repositoryURL": "https://github.com/apple/swift-docc-plugin.git",
"state": {
"branch": null,
"revision": "3303b164430d9a7055ba484c8ead67a52f7b74f6",
"version": "1.0.0"
}
},
{
"package": "SwiftSyntax",
"repositoryURL": "https://github.com/apple/swift-syntax",
"state": {
"branch": null,
"revision": "6ad4ea24b01559dde0773e3d091f1b9e36175036",
"version": "509.0.2"
}
"originHash" : "b5a609958d4527ce07000982912bd4609927f45277d7cb706c744970b7051f59",
"pins" : [
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "f3c9084a71ef4376f2fabbdf1d3d90a49f1fabdb",
"version" : "1.1.2"
}
]
},
"version": 1
},
{
"identity" : "swift-docc-plugin",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-docc-plugin",
"state" : {
"revision" : "85e4bb4e1cd62cec64a4b8e769dcefdf0c5b9d64",
"version" : "1.4.3"
}
},
{
"identity" : "swift-docc-symbolkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-docc-symbolkit",
"state" : {
"revision" : "b45d1f2ed151d057b54504d653e0da5552844e34",
"version" : "1.0.0"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-syntax",
"state" : {
"revision" : "2bc86522d115234d1f588efe2bcb4ce4be8f8b82",
"version" : "510.0.3"
}
}
],
"version" : 3
}
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.5
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -8,11 +8,11 @@ let argumentParser: PackageDescription.Package.Dependency = .package(
.upToNextMinor(from: "1.1.0")
)
let docc: PackageDescription.Package.Dependency = .package(
url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"
url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.0.0"
)
let swiftSyntax = PackageDescription.Package.Dependency.package(
url: "https://github.com/apple/swift-syntax",
from: "509.0.2"
url: "https://github.com/swiftlang/swift-syntax",
from: "510.0.0"
)

let package = Package(
Expand Down

0 comments on commit bd4a038

Please sign in to comment.