Skip to content

Commit

Permalink
chore: add gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
phani-srikar committed Jul 14, 2023
1 parent 90fb62f commit 93b2388
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-swift-modelgen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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: Analyze
runs-on: macos-13-xl
permissions:
actions: read
contents: read

strategy:
fail-fast: true

steps:
- 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

0 comments on commit 93b2388

Please sign in to comment.