Skip to content

Commit

Permalink
Merge pull request #47 from gumob:release/v3.0.0
Browse files Browse the repository at this point in the history
Release/v3.0.0
  • Loading branch information
gumob authored Aug 24, 2024
2 parents 6972f83 + e6e54c7 commit eff266d
Show file tree
Hide file tree
Showing 7 changed files with 898 additions and 49 deletions.
92 changes: 47 additions & 45 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,51 +170,53 @@ jobs:
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Punycode.xcodeproj" -scheme "Punycode-tvOS" -destination "${{ matrix.destination }}" clean test 2>&1 | xcbeautify --renderer github-actions
needs: swiftlint

# test_visionOS:
# name: ${{ matrix.name }}
# runs-on: ${{ matrix.runsOn }}
# env:
# DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}.app/Contents/Developer"
# timeout-minutes: 10
# strategy:
# fail-fast: false
# matrix:
# include:
# - destination: "OS=1.2,name=Apple Vision Pro"
# name: "Test: visionOS 1.2"
# testPlan: "visionOS"
# scheme: "Punycode-visionOS"
# xcode: "Xcode_15.4"
# runsOn: macos-14
# steps:
# - uses: actions/checkout@v4
# - name: ${{ matrix.name }}
# run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Punycode.xcodeproj" -scheme "${{ matrix.scheme }}" -destination "${{ matrix.destination }}" clean test 2>&1 | xcbeautify --renderer github-actions
test_visionOS:
name: ${{ matrix.name }}
runs-on: ${{ matrix.runsOn }}
env:
DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}.app/Contents/Developer"
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- destination: "OS=1.2,name=Apple Vision Pro"
name: "Test: visionOS 1.2"
testPlan: "visionOS"
scheme: "Punycode-visionOS"
xcode: "Xcode_15.4"
runsOn: macos-14
steps:
- uses: actions/checkout@v4
- name: ${{ matrix.name }}
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Punycode.xcodeproj" -scheme "${{ matrix.scheme }}" -destination "${{ matrix.destination }}" clean test 2>&1 | xcbeautify --renderer github-actions
needs: swiftlint

# test_watchOS:
# name: ${{ matrix.name }}
# runs-on: ${{ matrix.runsOn }}
# env:
# DEVELOPER_DIR: /Applications/${{ matrix.xcode }}.app/Contents/Developer
# timeout-minutes: 10
# strategy:
# fail-fast: false
# matrix:
# include:
# - destination: "OS=10.5,name=Apple Watch Series 9 (45mm)"
# name: "Test: watchOS 10.5"
# testPlan: "watchOS"
# xcode: "Xcode_15.4"
# runsOn: macos-14
# - destination: "OS=9.4,name=Apple Watch Series 8 (45mm)"
# name: "Test: watchOS 9.4"
# testPlan: "watchOS"
# xcode: "Xcode_14.3.1"
# runsOn: macOS-13
# steps:
# - uses: actions/checkout@v4
# - name: ${{ matrix.name }}
# run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Punycode.xcodeproj" -scheme "Punycode-watchOS" -destination "${{ matrix.destination }}" clean test 2>&1 | xcbeautify --renderer github-actions
test_watchOS:
name: ${{ matrix.name }}
runs-on: ${{ matrix.runsOn }}
env:
DEVELOPER_DIR: /Applications/${{ matrix.xcode }}.app/Contents/Developer
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- destination: "OS=10.5,name=Apple Watch Series 9 (45mm)"
name: "Test: watchOS 10.5"
testPlan: "watchOS"
xcode: "Xcode_15.4"
runsOn: macos-14
- destination: "OS=9.4,name=Apple Watch Series 8 (45mm)"
name: "Test: watchOS 9.4"
testPlan: "watchOS"
xcode: "Xcode_14.3.1"
runsOn: macOS-13
steps:
- uses: actions/checkout@v4
- name: ${{ matrix.name }}
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Punycode.xcodeproj" -scheme "Punycode-watchOS" -destination "${{ matrix.destination }}" clean test 2>&1 | xcbeautify --renderer github-actions
needs: swiftlint

SPM:
name: ${{ matrix.name }}
Expand Down Expand Up @@ -246,7 +248,7 @@ jobs:
- uses: actions/checkout@v4
- name: Test SPM
run: swift test -c debug 2>&1 | ${{ matrix.outputFilter }}
needs: [test_macOS, test_iOS, test_tvOS]
needs: [test_macOS, test_iOS, test_tvOS, test_watchOS, test_visionOS]
# needs: [test_macOS, test_iOS, test_tvOS, test_visionOS, test_watchOS, test_Catalyst]

carthage:
Expand Down
6 changes: 5 additions & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ DEFAULT_PODSPEC="Punycode.podspec"
SCHEME_IOS="Punycode-iOS"
SCHEME_MACOS="Punycode-macOS"
SCHEME_TVOS="Punycode-tvOS"
SCHEME_WATCHOS="Punycode-watchOS"
SCHEME_VISIONOS="Punycode-visionOS"
SCHEME_IOS_TEST="Punycode-iOSTests"
SCHEME_MACOS_TEST="Punycode-macOSTests"
SCHEME_TVOS_TEST="Punycode-tvOSTests"
SCHEME_TVOS_TEST="Punycode-tvOSTests"
SCHEME_WATCHOS_TEST="Punycode-watchOSTests"
SCHEME_VISIONOS_TEST="Punycode-visionOSTests"
Loading

0 comments on commit eff266d

Please sign in to comment.