Skip to content

Sendable support #30

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 5 commits into
base: main
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
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,23 @@ jobs:
name: MacOS
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Run tests
run: make test-swift
- name: Run tests
run: make build-release-swift

ubuntu:
name: Ubuntu
strategy:
matrix:
swift:
- '5.9'
name: Ubuntu (Swift ${{ matrix.swift }})
runs-on: ubuntu-latest
container: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Run tests
run: make test-linux
- name: Build for release
run: make build-release-linux
run: swift test --parallel
- name: Run tests (release)
run: swift test -c release --parallel
8 changes: 6 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.9
import Foundation
import PackageDescription

Expand All @@ -8,7 +8,11 @@ let package = Package(
.library(name: "Gen", targets: ["Gen"])
],
targets: [
.target(name: "Gen", dependencies: []),
.target(
name: "Gen",
dependencies: [],
swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]
),
.testTarget(name: "GenTests", dependencies: ["Gen"]),
]
)
Loading