Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/index.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ prb {
}
steps {
new Common.Checkout {}
new { run = "brew install gmp libyaml" }
new {
uses = "ruby/setup-ruby@v1"
with {
Expand All @@ -162,6 +163,10 @@ prb {
new { run = "gem install xcpretty" }
new {
name = "xcodebuild test"
env {
// needed for xcpretty: https://github.com/xcpretty/xcpretty/issues/73
["LC_CTYPE"] = "en_US.UTF-8"
}
run =
#"""
xcodebuild -scheme pkl-swift-Package \#(simulator.flags.join(" ")) test \
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-ios-simulator.xml
Expand All @@ -115,11 +118,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 11 (42mm)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-watchos-simulator.xml
Expand All @@ -139,11 +145,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-tvos-simulator.xml
Expand All @@ -163,11 +172,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk macosx -destination 'platform=macOS,variant=Mac Catalyst,arch=arm64' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO ARCH=arm64 VALID_ARCHS=arm64 SUPPORTS_MACCATALYST=YES TARGETED_DEVICE_FAMILY=2 CODE_SIGN_IDENTITY=- test \
| xcpretty --report junit --output .out/test-results/test-sim-mac-catalyst.xml
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-ios-simulator.xml
Expand All @@ -114,11 +117,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 11 (42mm)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-watchos-simulator.xml
Expand All @@ -138,11 +144,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-tvos-simulator.xml
Expand All @@ -162,11 +171,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk macosx -destination 'platform=macOS,variant=Mac Catalyst,arch=arm64' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO ARCH=arm64 VALID_ARCHS=arm64 SUPPORTS_MACCATALYST=YES TARGETED_DEVICE_FAMILY=2 CODE_SIGN_IDENTITY=- test \
| xcpretty --report junit --output .out/test-results/test-sim-mac-catalyst.xml
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/prb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-ios-simulator.xml
Expand All @@ -113,11 +116,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 11 (42mm)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-watchos-simulator.xml
Expand All @@ -138,11 +144,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-tvos-simulator.xml
Expand All @@ -163,11 +172,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk macosx -destination 'platform=macOS,variant=Mac Catalyst,arch=arm64' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO ARCH=arm64 VALID_ARCHS=arm64 SUPPORTS_MACCATALYST=YES TARGETED_DEVICE_FAMILY=2 CODE_SIGN_IDENTITY=- test \
| xcpretty --report junit --output .out/test-results/test-sim-mac-catalyst.xml
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-ios-simulator.xml
Expand All @@ -114,11 +117,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 11 (42mm)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-watchos-simulator.xml
Expand All @@ -138,11 +144,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-tvos-simulator.xml
Expand All @@ -162,11 +171,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk macosx -destination 'platform=macOS,variant=Mac Catalyst,arch=arm64' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO ARCH=arm64 VALID_ARCHS=arm64 SUPPORTS_MACCATALYST=YES TARGETED_DEVICE_FAMILY=2 CODE_SIGN_IDENTITY=- test \
| xcpretty --report junit --output .out/test-results/test-sim-mac-catalyst.xml
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-ios-simulator.xml
Expand All @@ -114,11 +117,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 11 (42mm)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-watchos-simulator.xml
Expand All @@ -138,11 +144,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO test \
| xcpretty --report junit --output .out/test-results/test-sim-tvos-simulator.xml
Expand All @@ -162,11 +171,14 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_26.1.app
steps:
- uses: actions/checkout@v5
- run: brew install gmp libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
- run: gem install xcpretty
- name: xcodebuild test
env:
LC_CTYPE: en_US.UTF-8
run: |-
xcodebuild -scheme pkl-swift-Package -sdk macosx -destination 'platform=macOS,variant=Mac Catalyst,arch=arm64' ONLY_ACTIVE_ARCH=YES CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO ARCH=arm64 VALID_ARCHS=arm64 SUPPORTS_MACCATALYST=YES TARGETED_DEVICE_FAMILY=2 CODE_SIGN_IDENTITY=- test \
| xcpretty --report junit --output .out/test-results/test-sim-mac-catalyst.xml
Expand Down