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

Use WAMR for carton test #195

Closed
wants to merge 5 commits into from
Closed

Use WAMR for carton test #195

wants to merge 5 commits into from

Conversation

MaxDesiatov
Copy link
Collaborator

@MaxDesiatov MaxDesiatov commented Dec 25, 2020

This simplifies our CI scripts, and installation via Homebrew and on Linux. It also allows us to pin the version of WASI runtime we use for CLI test execution.

Closes #177.

I'm not completely sure if this is blocked by swiftwasm/wamr-swift#2. Until that issue is resolved we'll use plain XCTest output formatting without our custom formatting and color highlighting in terminal.

Unfortunately, support for Swift 5.2 had to be dropped. WAMRSwift requires Swift 5.3 for conditional target dependencies to work.

This simplifies our CI scripts, and installation via Homebrew and on Linux. It also allows us to pin the version of WASI runtime we use for CLI test execution.

Closes #177.
@MaxDesiatov MaxDesiatov added dependencies Updates to the project dependencies continuous integration Continuous integration changes labels Dec 25, 2020
@MaxDesiatov MaxDesiatov requested a review from a team December 25, 2020 19:16
@MaxDesiatov MaxDesiatov requested a review from a team December 26, 2020 09:49
@yonihemi yonihemi requested review from a team and removed request for a team January 7, 2021 14:59
swift build -c release
swift test -c release --enable-test-discovery
brew bundle
cd TestApp && ../.build/release/carton test
../.build/release/carton test --environment defaultBrowser
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be removed. It's included in the CI Tests now.

If we are going to build before tests it should be

swift build --build-tests --enable-test-discovery
swift test --enable-test-discovery

.github/workflows/swift.yml Show resolved Hide resolved
@MaxDesiatov MaxDesiatov deleted the wamr branch August 30, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous integration Continuous integration changes dependencies Updates to the project dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Wasmer an optional dependency?
3 participants