-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Final updates for Swift 6 and sendable closures (#50)
* Updates for sendable closures * Update tests for split methods * Updates for Xcode 16 RC * Linux vs Swift 6 * Document -fmodules workaround
- Loading branch information
Showing
131 changed files
with
2,568 additions
and
1,300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,15 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
xcode: ['16.0-beta'] | ||
xcode: ['16.0'] | ||
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: ${{ matrix.xcode }} | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
persist-credentials: false | ||
- name: Ruby | ||
run: | | ||
gem install rouge | ||
|
@@ -46,9 +47,10 @@ jobs: | |
run: | | ||
xcrun llvm-cov export -format lcov .build/debug/RubyGatewayPackageTests.xctest/Contents/MacOS/RubyGatewayPackageTests -instr-profile .build/debug/codecov/default.profdata -ignore-filename-regex "(Test|checkouts)" > coverage.lcov | ||
- name: Coverage upload | ||
uses: codecov/codecov-action@v2 | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
files: ./coverage.lcov | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true | ||
- name: Tests (Xcodebuild) | ||
run: | | ||
|
@@ -69,6 +71,11 @@ jobs: | |
- short: '3.3' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: vapor/[email protected] | ||
with: | ||
toolchain: "6.0" | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.rby.short }} | ||
|
@@ -94,4 +101,4 @@ jobs: | |
run: | | ||
export PKG_CONFIG_PATH=$(pwd)/Packages/CRuby:$PKG_CONFIG_PATH | ||
export LD_LIBRARY_PATH=${RB_PREFIX}/lib:$LD_LIBRARY_PATH | ||
swift test | ||
swift test -Xcc -fmodules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
author: John Fairhurst | ||
author_url: http://github.com/johnfairh | ||
module: RubyGateway | ||
module_version: 5.5.0 | ||
module_version: 6.0.0 | ||
copyright: Distributed under the MIT license. Maintained by [John Fairhurst](mailto:[email protected]). | ||
readme: README.md | ||
github_url: https://github.com/johnfairh/RubyGateway | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// swift-tools-version:5.9 | ||
// swift-tools-version:6.0 | ||
|
||
// Package.swift | ||
// RubyGateway | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.