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

Add Swift 6.0 CI for Linux #482

Merged
merged 4 commits into from
Jun 11, 2024
Merged

Conversation

omochi
Copy link
Contributor

@omochi omochi commented Jun 9, 2024

Linux の CI に Swift 6.0 を追加します。
#481 がマージ済みなので、Carton実行時も Swift 6.0 を使います。


@omochi
Copy link
Contributor Author

omochi commented Jun 9, 2024

よく考えたらLinuxとmacは直行してるんだからいっぺんにやってもよかったな

@omochi omochi changed the title [WIP] Swift 6.0 サポートを追加する [WIP] Linux の CI に Swift 6.0 を追加する Jun 11, 2024
@omochi omochi changed the title [WIP] Linux の CI に Swift 6.0 を追加する Linux の CI に Swift 6.0 を追加する Jun 11, 2024
@@ -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"
Copy link
Contributor Author

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 と対応するバージョンでもある。

@omochi
Copy link
Contributor Author

omochi commented Jun 11, 2024

コケるの!?うそやろ

@@ -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",
Copy link
Contributor Author

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)
)

@omochi omochi marked this pull request as ready for review June 11, 2024 04:07
@kateinoigakukun kateinoigakukun changed the title Linux の CI に Swift 6.0 を追加する Add Swift 6.0 CI for Linux Jun 11, 2024
@kateinoigakukun kateinoigakukun merged commit 193722e into swiftwasm:main Jun 11, 2024
6 checks passed
@omochi omochi deleted the swift-6.0 branch June 11, 2024 05:02
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