-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a20dc5a
commit 4cdd4fd
Showing
4 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,19 +37,22 @@ jobs: | |
- xcode: "Xcode_15.0" | ||
runsOn: macos-13 | ||
name: "macOS 13, Xcode 15.0, Swift 5.9.0" | ||
params: "-skipMacroValidation" | ||
- xcode: "Xcode_14.3.1" | ||
runsOn: macos-13 | ||
name: "macOS 13, Xcode 14.3.1, Swift 5.8.0" | ||
params: "" | ||
- xcode: "Xcode_14.2" | ||
runsOn: macOS-12 | ||
name: "macOS 12, Xcode 14.2, Swift 5.7.2" | ||
- xcode: "Xcode_14.1" | ||
runsOn: macOS-12 | ||
name: "macOS 12, Xcode 14.1, Swift 5.7.1" | ||
params: "" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: ${{ matrix.name }} | ||
run: xcodebuild test -scheme "Blade-Package" -destination "platform=macOS" clean -enableCodeCoverage YES -resultBundlePath "test_output/${{ matrix.name }}.xcresult" || exit 1 | ||
run: xcodebuild test -scheme "Blade-Package" -destination "platform=macOS" clean -enableCodeCoverage YES ${{ matrix.params }} -resultBundlePath "test_output/${{ matrix.name }}.xcresult" || exit 1 | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
|
@@ -74,14 +77,16 @@ jobs: | |
name: "iOS 17.0.1" | ||
xcode: "Xcode_15.0" | ||
runsOn: macos-13 | ||
params: "-skipMacroValidation" | ||
- destination: "OS=16.4,name=iPhone 14 Pro" | ||
name: "iOS 16.4" | ||
xcode: "Xcode_14.3.1" | ||
runsOn: macos-13 | ||
params: "" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: ${{ matrix.name }} | ||
run: xcodebuild test -scheme "Blade-Package" -destination "${{ matrix.destination }}" clean -enableCodeCoverage YES -resultBundlePath "test_output/${{ matrix.name }}.xcresult" || exit 1 | ||
run: xcodebuild test -scheme "Blade-Package" -destination "${{ matrix.destination }}" clean -enableCodeCoverage YES ${{ matrix.params }} -resultBundlePath "test_output/${{ matrix.name }}.xcresult" || exit 1 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ matrix.name }} | ||
|
@@ -100,14 +105,16 @@ jobs: | |
name: "tvOS 17.0" | ||
xcode: "Xcode_15.0" | ||
runsOn: macos-13 | ||
params: "-skipMacroValidation" | ||
- destination: "OS=16.4,name=Apple TV" | ||
name: "tvOS 16.4" | ||
xcode: "Xcode_14.3.1" | ||
runsOn: macos-13 | ||
params: "" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: ${{ matrix.name }} | ||
run: xcodebuild test -scheme "Blade-Package" -destination "${{ matrix.destination }}" clean -enableCodeCoverage YES -resultBundlePath "test_output/${{ matrix.name }}.xcresult" || exit 1 | ||
run: xcodebuild test -scheme "Blade-Package" -destination "${{ matrix.destination }}" clean -enableCodeCoverage YES ${{ matrix.params }} -resultBundlePath "test_output/${{ matrix.name }}.xcresult" || exit 1 | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
|
@@ -132,18 +139,21 @@ jobs: | |
name: "watchOS 10.0" | ||
xcode: "Xcode_15.0" | ||
runsOn: macos-13 | ||
params: "-skipMacroValidation" | ||
- destination: "OS=9.4,name=Apple Watch Series 8 (45mm)" | ||
name: "watchOS 9.4" | ||
xcode: "Xcode_14.3.1" | ||
runsOn: macos-13 | ||
params: "" | ||
- destination: "OS=8.5,name=Apple Watch Series 7 (45mm)" | ||
name: "watchOS 8.5" | ||
xcode: "Xcode_14.3.1" | ||
runsOn: macos-13 | ||
params: "" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: ${{ matrix.name }} | ||
run: xcodebuild test -scheme "Blade-Package" -destination "${{ matrix.destination }}" clean -enableCodeCoverage YES -resultBundlePath "test_output/${{ matrix.name }}.xcresult" || exit 1 | ||
run: xcodebuild test -scheme "Blade-Package" -destination "${{ matrix.destination }}" clean -enableCodeCoverage YES ${{ matrix.params }} -resultBundlePath "test_output/${{ matrix.name }}.xcresult" || exit 1 | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
|
@@ -173,7 +183,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- name: ${{ matrix.name }} | ||
run: swift build -c release --target "Blade-Package" | ||
run: | | ||
swift build -c release --target "Blade" | ||
swift build -c release --target "BladeTCA" | ||
merge-test-reports: | ||
needs: [iOS, macOS, watchOS, tvOS] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters