-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 999 Bytes
/
compatibility_tests.yml
File metadata and controls
36 lines (34 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Compatibility tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
compatibility_tests_macos:
name: Execute compatibility tests
strategy:
fail-fast: false
matrix:
include:
- os: macos-15
xcode-version: "16.4" # Swift 6.1.2
runs-on: ${{ matrix.os }}
env:
OPENCOREGRAPHICS_BUILD_FOR_DARWIN_PLATFORM: 1
OPENCOREGRAPHICS_WERROR: 1
OPENCOREGRAPHICS_COREGRAPHICS: 1
OPENCOREGRAPHICS_LIBRARY_EVOLUTION: 0
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- name: Setup Xcode
uses: OpenSwiftUIProject/OpenSwiftUI/.github/actions/setup-xcode@main
with:
xcode-version: ${{ matrix.xcode-version }}
- name: Swift version
run: swift --version
- name: Run tests against Apple's CoreGraphics on macOS via SwiftPM
run: |
swift test \
--build-path .build-compatibility-test-debug