Skip to content

Commit 4adccad

Browse files
authored
Merge pull request #5 from 1998code/compatibility
Reduce STV + Add Xcode tests
2 parents 67cfe2a + 809c231 commit 4adccad

File tree

3 files changed

+45
-10
lines changed

3 files changed

+45
-10
lines changed

.github/workflows/swift.yml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches: [ "main" ]
1111

1212
jobs:
13-
xcode:
13+
xcode-16-3:
1414
runs-on: macos-15
1515
env:
1616
DEVELOPER_DIR: /Applications/Xcode_16.3.app/Contents/Developer
@@ -20,5 +20,31 @@ jobs:
2020
run: swift --version
2121
- name: Build
2222
run: swift build -v
23-
- name: Test
24-
run: swift test -v
23+
# - name: Test
24+
# run: swift test -v
25+
26+
xcode-15-4:
27+
runs-on: macos-14
28+
env:
29+
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
30+
steps:
31+
- uses: actions/checkout@v4
32+
- name: Version
33+
run: swift --version
34+
- name: Build
35+
run: swift build -v
36+
# - name: Test
37+
# run: swift test -v
38+
39+
xcode-15-0:
40+
runs-on: macos-13
41+
env:
42+
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
43+
steps:
44+
- uses: actions/checkout@v4
45+
- name: Version
46+
run: swift --version
47+
- name: Build
48+
run: swift build -v
49+
# - name: Test
50+
# run: swift test -v

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.0
1+
// swift-tools-version: 5.9
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
@@ -23,9 +23,9 @@ let package = Package(
2323
// Targets can depend on other targets in this package and products from dependencies.
2424
.target(
2525
name: "SwiftGlass"),
26-
.testTarget(
27-
name: "SwiftGlassTests",
28-
dependencies: ["SwiftGlass"]
29-
),
26+
// .testTarget(
27+
// name: "SwiftGlassTests",
28+
// dependencies: ["SwiftGlass"]
29+
// ),
3030
]
3131
)

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,18 @@
3636

3737
## Tested Platforms and Environment
3838

39-
iOS 15.0+, macOS 14.0+, watchOS 10.0+, tvOS 15.0+, and visionOS 1.0+
39+
| Platform | Version |
40+
| -- | -- |
41+
| iOS | 15.0+ |
42+
| macOS | 14.0+ |
43+
| watchOS | 10.0+ |
44+
| tvOS | 15.0+ |
45+
| visionOS | 1.0+ |
4046

41-
Xcode 16.3 (Not Minimum Required)
47+
| Xcode | | |
48+
| -- | -- | -- |
49+
| Latest | Minimum | SVT |
50+
| 16.3 | 15.0 | 5.9 |
4251

4352
![image](https://github.com/user-attachments/assets/99794cda-e879-4194-85fb-f6350ddf9db8)
4453

0 commit comments

Comments
 (0)