Skip to content

Release/25 12 2024 #652

Release/25 12 2024

Release/25 12 2024 #652

Workflow file for this run

name: Build Debug / Build debug artifacts
on:
pull_request:
concurrency:
# New commit on branch cancels running workflows of the same branch
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-latest
environment: sdds
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 'latest'
- name: Install the Apple certificate and provisioning profile
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64 }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
run: |
chmod +x ./scripts/install_certificate_and_profile.sh
./scripts/install_certificate_and_profile.sh "$RUNNER_TEMP" "$BUILD_CERTIFICATE_BASE64" "$P12_PASSWORD" "$BUILD_PROVISION_PROFILE_BASE64" "$KEYCHAIN_PASSWORD"
- name: Run build script
run: |
./scripts/build_xcframeworks.rb -d . -w SDDS.xcworkspace
- name: Upload XCFrameworks as Artifact
uses: actions/upload-artifact@v4.1.0
with:
name: xcframeworks
path: build/**