Skip to content

Commit

Permalink
broke out xcframework gen into seperate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-b committed May 30, 2024
1 parent a998e4f commit 9c76474
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@ jobs:
run: |
xcodebuild -scheme apm-agent-ios -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15' test
- name: xcodegen
uses: xavierLowmiller/[email protected]
with:
spec: project.yaml
quiet: true
version: '2.41.0'
- name: generate xcframeworks
run : |
./ci/scripts/xcframework.sh
- name: Run package snapshots
run: .ci/scripts/package.sh

Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/xcframework.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: xcframework builder

on:
workflow_dispatch:
pull_request:
push:
branches:
- "main"

permissions:
contents: read

jobs:
macos:
runs-on: macos-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@v4
- name: xcodegen
uses: xavierLowmiller/[email protected]
with:
spec: project.yml
quiet: true
version: '2.41.0'
- name: generate xcframeworks
run : |
./ci/scripts/xcframework.sh

0 comments on commit 9c76474

Please sign in to comment.