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
16 changes: 14 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- "**.md"

env:
XCODE_VERSION: 15.4
XCODE_VERSION: 16

jobs:
build-sentry-native:
Expand Down Expand Up @@ -70,7 +70,13 @@ jobs:
if: github.ref_name != 'main' && !startsWith(github.ref_name, 'release/')
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # Tag: 0.12.1

# We only use Xcode 15.4
- name: Setup Xcode
if: matrix.os == 'macos-latest'
run: |
sudo xcode-select --switch /Applications/Xcode_${{env.XCODE_VERSION}}.app/Contents/Developer
xcodebuild -version

# We only use Xcode 16
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the source of truth to the version we use is pinned above, are we better off changing this comment to: "This has to align with the xcode version we depend on, see ABC env var for details

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you mean the # We only use Xcode 16 comment then we could change it to "Remove unused Xcode versions"... that step is basically just to free disk space.

- name: Remove unused applications
if: matrix.os == 'macos-latest'
run: |
Expand Down Expand Up @@ -197,6 +203,12 @@ jobs:
with:
dotnet-version: 8.0.x

- name: Setup Xcode
if: matrix.os == 'macos-latest'
run: |
sudo xcode-select --switch /Applications/Xcode_${{env.XCODE_VERSION}}.app/Contents/Developer
xcodebuild -version

# Needed for Android SDK setup step
- uses: actions/setup-java@v4
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ async Task VerifyAsync(HttpRequestMessage message)
[SkippableFact]
private async Task Profiler_ThrowingOnSessionStartup_DoesntBreakSentryInit()
{
Skip.If(TestEnvironment.IsGitHubActions);

SampleProfilerSession.ThrowOnNextStartupForTests = true;

var tcs = new TaskCompletionSource<string>();
Expand Down