Skip to content

Update test-build.yml #4

Update test-build.yml

Update test-build.yml #4

Workflow file for this run

name: Build
on:
push:
branches:
- test/commit-to-commit
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
# We had issues that the release build was broken on main.
# With this we catch potential issues already in the PR.
build-xcframework:
name: Build XCFramework
# The macos-13 uses an Intel processor and doesn't compile the XCFramework for visionOS.
# The large image compiles on arm64 and successfully creates the XCFramework for visionOS.
runs-on: macos-13-xlarge
steps:
- uses: actions/checkout@v4
- run: ./scripts/ci-select-xcode.sh 15.2
#- run: make build-xcframework
- run: echo "${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
- run: ./scripts/update-package-sha.sh $GITHUB_OUTPUT ${{ github.workspace }}/Carthage/Sentry.xcframework.zip
shell: sh