Skip to content

Commit

Permalink
githubactions
Browse files Browse the repository at this point in the history
  • Loading branch information
brustolin committed Feb 23, 2024
1 parent 7ececc8 commit 0c144c7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- main
- release/**
- test/commit-to-commit

pull_request:
paths:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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 }}
- run: ./scripts/update-package-sha.sh ${{ github.head_ref }} ${{ github.workspace }}/Carthage/Sentry.xcframework.zip
shell: sh

0 comments on commit 0c144c7

Please sign in to comment.