Test compiling Swift Modelgen output #59757
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Test compiling Swift Modelgen output' | |
on: | |
workflow_dispatch: | |
inputs: | |
MODELS_S3_URL: | |
description: 'S3 URL for models' | |
required: true | |
env: | |
MODELS_S3_URL: ${{ inputs.MODELS_S3_URL }} | |
jobs: | |
Build-Swift-Modelgen: | |
name: Build | |
runs-on: macos-14-xlarge | |
permissions: | |
actions: read | |
contents: read | |
strategy: | |
fail-fast: true | |
steps: | |
- name: Set Xcode version | |
run: sudo xcode-select --switch "/Applications/Xcode_16.1.0.app" | |
- name: Mask S3 URL | |
run: echo "::add-mask::$MODELS_S3_URL" | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Check Xcode and Swift versions | |
run: | | |
xcodebuild -version | |
swift --version | |
- name: Build Swift Models | |
run: ./scripts/test-swift-modelgen.sh |