Merge pull request #50 from 417-72KI/update-yams

Update Yams to 5.0.0
This commit is contained in:
Franco Meloni 2023-04-19 22:11:12 +01:00 committed by GitHub
commit ee88e58e21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 8 deletions

View File

@ -6,11 +6,31 @@ on:
jobs:
build:
runs-on: macos-latest
runs-on: macos-12
strategy:
fail-fast: false
matrix:
xcode: ["12.4", "12.5.1", "13.0"]
xcode: ["13.1", "13.3.1", "14.2"]
steps:
- uses: actions/checkout@v2
- name: Select Xcode
run: |
xcodebuild -version
ls -nt /Applications/ | grep "Xcode*"
sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app
xcodebuild -version
- name: Run tests
run: swift test
- name: Build
run: swift build --disable-sandbox -c release
- name: Create test release
run: ./.build/release/rocket 1.0.0 --rocket-file .test.yml
build-macos11:
runs-on: macos-11
strategy:
fail-fast: false
matrix:
xcode: ["12.5.1", "13.0"]
steps:
- uses: actions/checkout@v2
- name: Select Xcode

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/.build
/Packages
/*.xcodeproj
/.swiftpm/xcode

View File

@ -87,8 +87,8 @@
"repositoryURL": "https://github.com/jpsim/Yams",
"state": {
"branch": null,
"revision": "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa",
"version": "4.0.6"
"revision": "f47ba4838c30dbd59998a4e4c87ab620ff959e8a",
"version": "5.0.5"
}
}
]

View File

@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.4
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
@ -14,7 +14,7 @@ let package = Package(
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/jpsim/Yams", from: "4.0.0"),
.package(url: "https://github.com/jpsim/Yams", from: "5.0.0"),
.package(url: "https://github.com/shibapm/Logger", from: "0.2.2"),
.package(url: "https://github.com/kareman/SwiftShell", from: "5.1.0"),
.package(url: "https://github.com/shibapm/PackageConfig.git", from: "1.0.0"),
@ -31,7 +31,7 @@ let package = Package(
name: "RocketLib",
dependencies: ["Logger", "SwiftShell"]
),
.target(
.executableTarget(
name: "Rocket",
dependencies: ["Yams", "Logger", "PackageConfig", "RocketLib"]
),