-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add wasm CI support * Add more swift versions for wasm swift-wasm 5.9.1 will encounter a compiler crash for Parameter Packs See swiftwasm/swift#5563 * Fix the upstream compiler error
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Wasm | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
wasmer_test: | ||
name: Execute tests on WASM | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
swift_version: ["wasm-5.9.1-RELEASE", "wasm-DEVELOPMENT-SNAPSHOT-2024-01-22-a"] | ||
os: [ubuntu-22.04] | ||
include: | ||
- swift_version: "wasm-5.9.1-RELEASE" | ||
extra_params: "-Xswiftc -Xfrontend -Xswiftc -disable-round-trip-debug-types" # https://github.com/swiftwasm/swift/issues/5563#issuecomment-1913533592 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: swiftwasm/setup-swiftwasm@v1 | ||
with: | ||
swift-version: ${{ matrix.swift_version }} | ||
- name: build | ||
run: | | ||
swift build ${{ matrix.extra_params }} | ||
# - name: test | ||
# run: | | ||
# swift test |
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