File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Tests/OpenGraphCompatibilityTests/Attribute/Attribute Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 13
13
fail-fast : false
14
14
matrix :
15
15
os : [macos-14]
16
- xcode-version : [16.0] # Swift 6.0
17
- ios-version : [18.0]
16
+ xcode-version : ["16.0"] # Swift 6.0
17
+ ios-version : ["18.0"]
18
+ include :
19
+ - ios-version : " 18.0"
20
+ ios-simulator-name : " iPhone 16 Pro"
18
21
runs-on : ${{ matrix.os }}
19
22
env :
20
23
OPENGRAPH_WERROR : 1
33
36
xcodebuild build \
34
37
-scheme OpenGraph-Package \
35
38
-configuration Debug \
36
- -destination "platform=iOS Simulator,OS=${{ matrix.ios-version }}" \
39
+ -destination "platform=iOS Simulator,OS=${{ matrix.ios-version }},name=${{ matrix.ios-simulator-name }} " \
37
40
-derivedDataPath .build-debug \
38
41
-skipMacroValidation \
39
42
-skipPackagePluginValidation \
43
46
xcodebuild test \
44
47
-scheme OpenGraph-Package \
45
48
-configuration Debug \
46
- -destination "platform=iOS Simulator,OS=${{ matrix.ios-version }}" \
49
+ -destination "platform=iOS Simulator,OS=${{ matrix.ios-version }},name=${{ matrix.ios-simulator-name }} " \
47
50
-enableCodeCoverage=YES \
48
51
-derivedDataPath .build-test-debug \
49
52
-skipPackagePluginValidation \
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ struct PointerOffsetTests {
42
42
#expect( invalidPointer == UnsafeMutablePointer ( bitPattern: stride) )
43
43
}
44
44
45
- @Test ( . bug( " https://github.com/OpenSwiftUIProject/OpenGraph/issues " , id: 70 ) )
45
+ #if canImport(Darwin)
46
+ @Test ( . bug( " https://github.com/OpenSwiftUIProject/OpenGraph/issues " , id: 70 , " Verify fix " ) )
46
47
func ofAndOffset( ) {
47
48
struct Empty {
48
49
var value : Void
@@ -78,6 +79,7 @@ struct PointerOffsetTests {
78
79
. of( & invalid. third)
79
80
}
80
81
}
82
+ #endif
81
83
82
84
@Test ( " Extension API between UnsafePointer/UnsafeMutablePointer and PointerOffset " )
83
85
func unsafePointerAndUnsafeMutablePointerExtension( ) {
You can’t perform that action at this time.
0 commit comments