Skip to content

Commit 83c654c

Browse files
committed
Test fixes
1 parent d8e7b32 commit 83c654c

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/buildandtest.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
clang --version
6767
clang-format --version
6868
69-
- name: Install Swiftly
69+
- name: Install Swiftly and Swift
7070
run: |
7171
SWIFTLY_FILE="swiftly-$(uname -m).tar.gz"
7272
curl -sL https://download.swift.org/swiftly/linux/swiftly-x86_64.tar.gz -o $SWIFTLY_FILE
@@ -75,10 +75,17 @@ jobs:
7575
./swiftly init --quiet-shell-followup
7676
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
7777
hash -r
78+
79+
# Install Swift (required for SwiftLint)
80+
swiftly install latest
81+
swift --version
82+
7883
sudo apt-get -y install libcurl4-openssl-dev
7984
8085
- name: Lint
81-
run: yarn lint
86+
run: |
87+
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
88+
yarn lint
8289
8390
job_check_integrity:
8491
name: Check package integrity

.github/workflows/native-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
- name: Install SDK JS Dependencies
4545
run: yarn install
4646

47+
- uses: ruby/setup-ruby@v1
48+
with:
49+
ruby-version: '3.3.0'
50+
4751
- name: Install App Pods
4852
working-directory: packages/core/RNSentryCocoaTester
4953
run: pod install

.github/workflows/sample-application.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ jobs:
135135
- name: Build iOS App
136136
if: ${{ matrix.platform == 'ios' }}
137137
working-directory: ${{ env.REACT_NATIVE_SAMPLE_PATH }}
138+
env:
139+
# Fix for Xcode 26+ with MetalToolchain: use default Xcode toolchain to avoid
140+
# missing Swift compatibility libraries (swiftCompatibility56, etc.)
141+
# See: https://github.com/actions/runner-images/issues/13135
142+
TOOLCHAINS: com.apple.dt.toolchain.XcodeDefault
138143
run: |
139144
[[ "${{ matrix.build-type }}" == "production" ]] && export CONFIG='Release' || export CONFIG='Debug'
140145

0 commit comments

Comments
 (0)