-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add Swift 6.0 CI for Linux #482
Conversation
よく考えたらLinuxとmacは直行してるんだからいっぺんにやってもよかったな |
.github/workflows/swift.yml
Outdated
@@ -62,6 +62,9 @@ jobs: | |||
strategy: | |||
matrix: | |||
include: | |||
- swift: | |||
dir: "swift-6.0-branch/ubuntu2204" | |||
version: "swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-07-a" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macのCIと同じバージョン。
cartonが入れる wasm-6.0-SNAPSHOT-2024-06-08-a
と対応するバージョンでもある。
コケるの!?うそやろ |
@@ -142,7 +142,8 @@ struct CartonFrontendBundleCommand: AsyncParsableCommand { | |||
async throws | |||
{ | |||
var wasmOptArgs = [ | |||
"wasm-opt", "-Os", "--enable-bulk-memory", inputPath.pathString, "-o", outputPath.pathString, | |||
"wasm-opt", "-Os", "--enable-bulk-memory", "--enable-sign-ext", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wasm-optが以下のエラーを出したため、
--enable-sign-ext
を追加しました。
[wasm-validator error in function 120] unexpected false: all used features should be allowed, on
(i32.extend8_s
(local.get $20)
)
Linux の CI に Swift 6.0 を追加します。
#481 がマージ済みなので、Carton実行時も Swift 6.0 を使います。