Skip to content
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
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches: [ v11, 'feat/**' ]
paths-ignore:
- '**.md'
workflow_dispatch:

jobs:
lint:
Expand Down Expand Up @@ -131,6 +132,20 @@ jobs:

- uses: ./.github/actions/test-swiftpm

test-swiftpm-windows:
name: Windows - Swift 6.3 - SPM
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: Install Swift
uses: compnerd/gha-setup-swift@main
with:
swift-version: swift-6.3-release
swift-build: 6.3-RELEASE
- name: Run tests
run: swift test

contract-tests:
runs-on: macos-15

Expand Down
26 changes: 26 additions & 0 deletions LaunchDarkly.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,12 @@
C443A41023186A4F00145710 /* ConnectionModeChangeObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = C443A40E23186A4F00145710 /* ConnectionModeChangeObserver.swift */; };
C443A41123186A4F00145710 /* ConnectionModeChangeObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = C443A40E23186A4F00145710 /* ConnectionModeChangeObserver.swift */; };
C443A41223186A4F00145710 /* ConnectionModeChangeObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = C443A40E23186A4F00145710 /* ConnectionModeChangeObserver.swift */; };
BC0000000000000000000101 /* WindowsEnvironmentReporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC0000000000000000000100 /* WindowsEnvironmentReporter.swift */; };
BC0000000000000000000102 /* WindowsEnvironmentReporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC0000000000000000000100 /* WindowsEnvironmentReporter.swift */; };
BC0000000000000000000103 /* WindowsEnvironmentReporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC0000000000000000000100 /* WindowsEnvironmentReporter.swift */; };
BC0000000000000000000104 /* WindowsEnvironmentReporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC0000000000000000000100 /* WindowsEnvironmentReporter.swift */; };
BC0000000000000000000201 /* WindowsEnvironmentReporterSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC0000000000000000000200 /* WindowsEnvironmentReporterSpec.swift */; };
BC0000000000000000000302 /* Match.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC0000000000000000000301 /* Match.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -582,6 +588,9 @@
C43C37E0236BA050003C1624 /* LDEvaluationDetail.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LDEvaluationDetail.swift; sourceTree = "<group>"; };
C443A4092315AA4D00145710 /* NetworkReporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkReporter.swift; sourceTree = "<group>"; };
C443A40E23186A4F00145710 /* ConnectionModeChangeObserver.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConnectionModeChangeObserver.swift; sourceTree = "<group>"; };
BC0000000000000000000100 /* WindowsEnvironmentReporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WindowsEnvironmentReporter.swift; sourceTree = "<group>"; };
BC0000000000000000000200 /* WindowsEnvironmentReporterSpec.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WindowsEnvironmentReporterSpec.swift; sourceTree = "<group>"; };
BC0000000000000000000301 /* Match.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Match.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -782,6 +791,7 @@
B4265EB024E7390C001CFD2C /* TestUtil.swift */,
A3FFE1122B7D4BA2009EF93F /* LDValueDecoderSpec.swift */,
A3BA7D032BD2BD620000DB28 /* TestContext.swift */,
BC0000000000000000000300 /* Matcher */,
);
name = LaunchDarklyTests;
path = LaunchDarkly/LaunchDarklyTests;
Expand Down Expand Up @@ -949,6 +959,7 @@
isa = PBXGroup;
children = (
A35038842F4F96CA0032BA9F /* WatchOSEnvironmentReporterSpec.swift */,
BC0000000000000000000200 /* WindowsEnvironmentReporterSpec.swift */,
A3047D622A606B6000F568E0 /* ApplicationInfoEnvironmentReporterSpec.swift */,
A3047D5F2A606B6000F568E0 /* EnvironmentReporterChainBaseSpec.swift */,
A3047D5E2A606B6000F568E0 /* IOSEnvironmentReporterSpec.swift */,
Expand Down Expand Up @@ -990,6 +1001,7 @@
A358D6E12A4DE98300270C60 /* MacOSEnvironmentReporter.swift */,
A358D6E62A4DE99B00270C60 /* WatchOSEnvironmentReporter.swift */,
A358D6EB2A4DE9A600270C60 /* TVOSEnvironmentReporter.swift */,
BC0000000000000000000100 /* WindowsEnvironmentReporter.swift */,
A358D6F12A4DEB4C00270C60 /* EnvironmentReporterBuilder.swift */,
A358D6F62A4DF1D500270C60 /* SDKEnvironmentReporter.swift */,
A35AD45F2A619E45005A8DCB /* SystemCapabilities.swift */,
Expand All @@ -1016,6 +1028,14 @@
name = Frameworks;
sourceTree = "<group>";
};
BC0000000000000000000300 /* Matcher */ = {
isa = PBXGroup;
children = (
BC0000000000000000000301 /* Match.swift */,
);
path = Matcher;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -1440,6 +1460,7 @@
A3BA7CEC2BD056920000DB28 /* Hook.swift in Sources */,
832D68A5224A38FC005F052A /* CacheConverter.swift in Sources */,
A35AD4632A619E45005A8DCB /* SystemCapabilities.swift in Sources */,
BC0000000000000000000101 /* WindowsEnvironmentReporter.swift in Sources */,
A358D6FA2A4DF1D500270C60 /* SDKEnvironmentReporter.swift in Sources */,
831188432113ADBE00D77CB5 /* LDCommon.swift in Sources */,
A358D6D42A4DD48600270C60 /* EnvironmentReporterChainBase.swift in Sources */,
Expand Down Expand Up @@ -1480,6 +1501,7 @@
3D24061B2E0D90E000F91253 /* SdkMetadata.swift in Sources */,
A310881D2837DC0400184942 /* Kind.swift in Sources */,
A35AD4622A619E45005A8DCB /* SystemCapabilities.swift in Sources */,
BC0000000000000000000102 /* WindowsEnvironmentReporter.swift in Sources */,
C443A40423145FBE00145710 /* ConnectionInformation.swift in Sources */,
832D68A4224A38FC005F052A /* CacheConverter.swift in Sources */,
831EF34C20655E730001C643 /* FlagChangeObserver.swift in Sources */,
Expand Down Expand Up @@ -1603,6 +1625,7 @@
A3BA7CE92BD056920000DB28 /* Hook.swift in Sources */,
832D68A2224A38FC005F052A /* CacheConverter.swift in Sources */,
A35AD4602A619E45005A8DCB /* SystemCapabilities.swift in Sources */,
BC0000000000000000000103 /* WindowsEnvironmentReporter.swift in Sources */,
A358D6F72A4DF1D500270C60 /* SDKEnvironmentReporter.swift in Sources */,
835E1D401F63450A00184DB4 /* ObjcLDConfig.swift in Sources */,
A358D6D12A4DD48600270C60 /* EnvironmentReporterChainBase.swift in Sources */,
Expand All @@ -1629,11 +1652,13 @@
83411A5F1FABDA8700E5CF39 /* mocks.generated.swift in Sources */,
83DDBF001FA2589900E428B6 /* FlagStoreSpec.swift in Sources */,
A35038852F4F96CA0032BA9F /* WatchOSEnvironmentReporterSpec.swift in Sources */,
BC0000000000000000000201 /* WindowsEnvironmentReporterSpec.swift in Sources */,
B4F689142497B2FC004D3CE0 /* DiagnosticEventSpec.swift in Sources */,
83396BC91F7C3711000E256E /* DarklyServiceSpec.swift in Sources */,
3D9A12582A73236800698B8D /* UtilSpec.swift in Sources */,
83EF67931F9945E800403126 /* EventSpec.swift in Sources */,
A3BA7D042BD2BD620000DB28 /* TestContext.swift in Sources */,
BC0000000000000000000302 /* Match.swift in Sources */,
83B6E3F1222EFA3800FF2A6A /* ThreadSpec.swift in Sources */,
831AAE3020A9E75D00B46DBA /* ThrottlerSpec.swift in Sources */,
832D68AC224B3321005F052A /* CacheConverterSpec.swift in Sources */,
Expand Down Expand Up @@ -1743,6 +1768,7 @@
A3BA7CEA2BD056920000DB28 /* Hook.swift in Sources */,
83D9EC952062DEAB004D7FA6 /* Date.swift in Sources */,
A35AD4612A619E45005A8DCB /* SystemCapabilities.swift in Sources */,
BC0000000000000000000104 /* WindowsEnvironmentReporter.swift in Sources */,
A358D6F82A4DF1D500270C60 /* SDKEnvironmentReporter.swift in Sources */,
832D68A3224A38FC005F052A /* CacheConverter.swift in Sources */,
A358D6D22A4DD48600270C60 /* EnvironmentReporterChainBase.swift in Sources */,
Expand Down
Loading
Loading