@@ -11,80 +11,97 @@ concurrency:
11
11
cancel-in-progress : true
12
12
13
13
jobs :
14
- compile :
15
- name : Compile (Swift ${{ matrix.version.swift_version }}) (${{ matrix.platform }})
16
- runs-on : ${{ matrix.platform }}
17
- strategy :
18
- fail-fast : false
19
- matrix :
20
- platform :
21
- - macos-latest
22
- - ubuntu-latest
23
- version :
24
- - swift_version : " 5.9"
25
- xcode_version : " 15.2"
26
- - swift_version : " 5.10"
27
- xcode_version : " 15.4"
28
- - swift_version : " 6.0"
29
- xcode_version : " 16_beta_5"
30
- exclude :
31
- # Add Swift 6.0 to ubuntu-latest when its available via swift-actions/setup-swift
32
- - platform : ubuntu-latest
33
- version :
34
- swift_version : " 6.0"
35
- env :
36
- DEVELOPER_DIR : /Applications/Xcode_${{ matrix.version.xcode_version }}.app/Contents/Developer
37
- steps :
38
- - uses : actions/checkout@v4
39
- - name : Install Swift and Tools
40
- if : ${{ matrix.platform == 'ubuntu-latest' }}
41
- uses : swift-actions/setup-swift@3aed395c5397f62deb91d8fe7af1418a9ae4d16f
42
- with :
43
- swift-version : ${{ matrix.version.swift_version }}
44
- - run : swift --version
45
- - run : swift build --disable-sandbox --configuration release -Xswiftc -warnings-as-errors
14
+ # compile:
15
+ # name: Compile (Swift ${{ matrix.version.swift_version }}) (${{ matrix.platform }})
16
+ # runs-on: ${{ matrix.platform }}
17
+ # strategy:
18
+ # fail-fast: false
19
+ # matrix:
20
+ # platform:
21
+ # - macos-latest
22
+ # - ubuntu-latest
23
+ # version:
24
+ # - swift_version: "5.9"
25
+ # xcode_version: "15.2"
26
+ # - swift_version: "5.10"
27
+ # xcode_version: "15.4"
28
+ # - swift_version: "6.0"
29
+ # xcode_version: "16_beta_5"
30
+ # exclude:
31
+ # # Add Swift 6.0 to ubuntu-latest when its available via swift-actions/setup-swift
32
+ # - platform: ubuntu-latest
33
+ # version:
34
+ # swift_version: "6.0"
35
+ # env:
36
+ # DEVELOPER_DIR: /Applications/Xcode_${{ matrix.version.xcode_version }}.app/Contents/Developer
37
+ # steps:
38
+ # - uses: actions/checkout@v4
39
+ # - name: Install Swift and Tools
40
+ # if: ${{ matrix.platform == 'ubuntu-latest' }}
41
+ # uses: swift-actions/setup-swift@3aed395c5397f62deb91d8fe7af1418a9ae4d16f
42
+ # with:
43
+ # swift-version: ${{ matrix.version.swift_version }}
44
+ # - run: swift --version
45
+ # - run: swift build --disable-sandbox --configuration release -Xswiftc -warnings-as-errors
46
46
47
- test :
48
- name : Test (Swift ${{ matrix.version.swift_version }}) (${{ matrix.platform }})
49
- runs-on : ${{ matrix.platform }}
50
- strategy :
51
- fail-fast : false
52
- matrix :
53
- platform :
54
- - macos-latest
55
- - ubuntu-latest
56
- version :
57
- - swift_version : " 5.9"
58
- xcode_version : " 15.2"
59
- - swift_version : " 5.10"
60
- xcode_version : " 15.4"
61
- - swift_version : " 6.0"
62
- xcode_version : " 16_beta_5"
63
- exclude :
64
- # Add Swift 6.0 to ubuntu-latest when its available via swift-actions/setup-swift
65
- - platform : ubuntu-latest
66
- version :
67
- swift_version : " 6.0"
68
- env :
69
- DEVELOPER_DIR : /Applications/Xcode_${{ matrix.version.xcode_version }}.app/Contents/Developer
47
+ # test:
48
+ # name: Test (Swift ${{ matrix.version.swift_version }}) (${{ matrix.platform }})
49
+ # runs-on: ${{ matrix.platform }}
50
+ # strategy:
51
+ # fail-fast: false
52
+ # matrix:
53
+ # platform:
54
+ # - macos-latest
55
+ # - ubuntu-latest
56
+ # version:
57
+ # - swift_version: "5.9"
58
+ # xcode_version: "15.2"
59
+ # - swift_version: "5.10"
60
+ # xcode_version: "15.4"
61
+ # - swift_version: "6.0"
62
+ # xcode_version: "16_beta_5"
63
+ # exclude:
64
+ # # Add Swift 6.0 to ubuntu-latest when its available via swift-actions/setup-swift
65
+ # - platform: ubuntu-latest
66
+ # version:
67
+ # swift_version: "6.0"
68
+ # env:
69
+ # DEVELOPER_DIR: /Applications/Xcode_${{ matrix.version.xcode_version }}.app/Contents/Developer
70
+ # steps:
71
+ # - uses: actions/checkout@v4
72
+ # - name: Load Swift Version
73
+ # run: echo "SWIFT_VERSION=$(<.swift-version)" >> $GITHUB_ENV
74
+ # - name: Install Swift and Tools
75
+ # if: ${{ matrix.platform == 'ubuntu-latest' }}
76
+ # uses: swift-actions/setup-swift@3aed395c5397f62deb91d8fe7af1418a9ae4d16f
77
+ # with:
78
+ # swift-version: ${{ matrix.version.swift_version }}
79
+ # - run: swift --version
80
+ # - run: swift test --enable-code-coverage
81
+ # - name: Prepare Code Coverage
82
+ # if: ${{ matrix.version.swift_version == env.SWIFT_VERSION}}
83
+ # run: ./tools/export_coverage
84
+ # - name: Upload coverage reports to Codecov
85
+ # if: ${{ matrix.version.swift_version == env.SWIFT_VERSION}}
86
+ # uses: codecov/codecov-action@v4
87
+ # with:
88
+ # files: info.lcov
89
+ # env:
90
+ # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
91
+
92
+ end-to-end :
93
+ name : End-to-End Test
94
+ runs-on : macos-latest
70
95
steps :
71
96
- uses : actions/checkout@v4
72
- - name : Load Swift Version
73
- run : echo "SWIFT_VERSION=$(<.swift-version)" >> $GITHUB_ENV
74
- - name : Install Swift and Tools
75
- if : ${{ matrix.platform == 'ubuntu-latest' }}
76
- uses : swift-actions/setup-swift@3aed395c5397f62deb91d8fe7af1418a9ae4d16f
77
- with :
78
- swift-version : ${{ matrix.version.swift_version }}
79
- - run : swift --version
80
- - run : swift test --enable-code-coverage
81
- - name : Prepare Code Coverage
82
- if : ${{ matrix.version.swift_version == env.SWIFT_VERSION}}
83
- run : ./tools/export_coverage
84
- - name : Upload coverage reports to Codecov
85
- if : ${{ matrix.version.swift_version == env.SWIFT_VERSION}}
86
- uses : codecov/codecov-action@v4
97
+ - uses : actions/checkout@v4
87
98
with :
88
- files : info.lcov
99
+ repository : " cpisciotta/GitHub-Issues-Browser"
100
+ path : " Demo"
101
+ - run : swift build
102
+ - run : ls -R
103
+ - run : |
104
+ set -euo pipefail && xcodebuild clean test -project 'Demo/GHIssues.xcodeproj' -scheme GHIssues -destination 'platform=iOS Simulator,name=iPhone 15 Pro' -derivedDataPath DerivedData CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED=NO ONLY_ACTIVE_ARCH=NO | .build/debug/xcbeautify --disable-colored-output --preserve-unbeautified
89
105
env:
90
- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
106
+ XCB_RECORD_UNCAPTURED: true
107
+ - run : ls -R
0 commit comments