Skip to content

Temporary PR to test Wasm CI integration #1

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

Open
wants to merge 6 commits into
base: feat/swift-wasm-support
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ env:

jobs:
unit-tests:
uses: vapor/ci/.github/workflows/run-unit-tests.yml@main
uses: passivelogic/vapor-ci/.github/workflows/run-unit-tests.yml@feat/add-swift-wasm-ci
secrets: inherit
with:
with_android: true
with_wasm: true

pure-fluent-integration-test:
if: ${{ !(github.event.pull_request.draft || false) }}
Expand Down
8 changes: 3 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.4"),
// NOTE: Compiling to wasm requires specific versions of swift-nio.
// This older version is left as-is to avoid placing restrictions
// on other targets. But to compile for wasm, make sure you have
// a version of swift-nio with a passing build for the NIOCore module.
.package(url: "https://github.com/apple/swift-nio.git", from: "2.65.0"),
// TODO: Require a minimum swift-nio version once latest nio core fixes are versionized.
// .package(url: "https://github.com/apple/swift-nio.git", from: "2.65.0.TBD"),
.package(url: "https://github.com/apple/swift-nio.git", branch: "main"),
],
targets: [
.target(
Expand Down