Skip to content

Commit 73a580f

Browse files
authored
fix ci (#1)
* update linux ci * try removing package.resolved * try depending on service context
1 parent b2db0be commit 73a580f

5 files changed

Lines changed: 7 additions & 271 deletions

File tree

‎.github/workflows/swift-test-all-release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
persist-credentials: false
1616
- name: Test
17-
run: swift test -Xswiftc -Xfrontend -Xswiftc -enable-cross-import-overlays -Xswiftc -target -Xswiftc arm64-apple-macosx15.0 -c release
17+
run: swift test -c release
1818
linux:
1919
runs-on: blacksmith-4vcpu-ubuntu-2404
2020
container:
@@ -25,4 +25,4 @@ jobs:
2525
with:
2626
persist-credentials: false
2727
- name: Test
28-
run: ./Scripts/test-release.sh
28+
run: swift test -c release

‎.github/workflows/swift-test-linux.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
with:
2222
persist-credentials: false
2323
- name: Test
24-
run: ./Scripts/test.sh
24+
run: swift test

‎.github/workflows/swift-test-mac.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ jobs:
1818
with:
1919
persist-credentials: false
2020
- name: Run tests
21-
run: swift test -Xswiftc -Xfrontend -Xswiftc -enable-cross-import-overlays -Xswiftc -target -Xswiftc arm64-apple-macosx15.0
21+
run: swift test
22+

‎Package.resolved‎

Lines changed: 0 additions & 267 deletions
This file was deleted.

‎Package.swift‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ let package = Package(
2323
from: "1.0.2",
2424
traits: []
2525
),
26+
.package(url: "https://github.com/apple/swift-service-context.git", from: "1.0.0"),
2627
],
2728
targets: [
2829
// Targets are the basic building blocks of a package, defining a module or a test suite.
@@ -31,6 +32,7 @@ let package = Package(
3132
name: "Nectar",
3233
dependencies: [
3334
.product(name: "Hummingbird", package: "hummingbird"),
35+
.product(name: "ServiceContextModule", package: "swift-service-context"),
3436
"NectarMacros"
3537
],
3638
swiftSettings: [

0 commit comments

Comments
 (0)