Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIのSwiftバージョンを5.9.2に引き上げる #453

Merged
merged 1 commit into from
May 19, 2024

Conversation

omochi
Copy link
Contributor

@omochi omochi commented May 19, 2024

5.9.2 に引き上げる

現在CartonはSwift 5.9.2 をサポート下限としています。
しかし、CIは5.9 (.0) を使っているため、下記の警告が出ています。

Swift 5.9.1 or earlier is not supported by carton

サポートしていない環境をテストする意味はないので、
テスト環境を5.9.2 に引き上げます。

@@ -8,22 +8,22 @@ on:

jobs:
swift-test-macos:
name: Build and test on macOS with Swift ${{ matrix.swift_version }}
name: Build and test on ${{ matrix.os }} with Swift ${{ matrix.swift }}, Xcode ${{ matrix.xcode }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

将来の環境のバリエーションの追加に備え、macOS, Xcodeのバージョンもタイトルに埋めます。

timeout-minutes: 40
runs-on: macos-13
runs-on: ${{ matrix.os }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

将来に備え、変数にします。

xcode: /Applications/Xcode_15.0.app/Contents/Developer
- os: macos-13
xcode: "15.2"
swift: "5.9.2"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version suffixはない形で3つの定義をそろえます。
ちなみに、Xcode15.2はmacOS 13ランナーの最終環境です。
https://github.com/actions/runner-images/blob/e2a8bbc6e1ff3ea021f736e2a8589f27e681aa15/images/macos/macos-13-Readme.md

dir: "swift-5.9-release/ubuntu2204"
version: "swift-5.9-RELEASE"
dir: "swift-5.9.2-release/ubuntu2204"
version: "swift-5.9.2-RELEASE"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この変更がPRの主目的です。

@omochi omochi marked this pull request as ready for review May 19, 2024 08:17
@omochi
Copy link
Contributor Author

omochi commented May 19, 2024

@kateinoigakukun よろしくお願いします。

@kateinoigakukun kateinoigakukun merged commit deea175 into swiftwasm:main May 19, 2024
2 checks passed
@omochi omochi deleted the bump-ci-swift-version-2 branch May 19, 2024 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants