Skip to content

Commit 93b2388

Browse files
committed
chore: add gh workflow
1 parent 90fb62f commit 93b2388

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: 'Test compiling Swift Modelgen output'
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
MODELS_S3_URL:
7+
description: 'S3 URL for models'
8+
required: true
9+
10+
env:
11+
MODELS_S3_URL: ${{ inputs.MODELS_S3_URL }}
12+
13+
jobs:
14+
Build-Swift-Modelgen:
15+
name: Analyze
16+
runs-on: macos-13-xl
17+
permissions:
18+
actions: read
19+
contents: read
20+
21+
strategy:
22+
fail-fast: true
23+
24+
steps:
25+
- name: Mask S3 URL
26+
run: echo "::add-mask::$MODELS_S3_URL"
27+
28+
- name: Checkout repository
29+
uses: actions/checkout@v3
30+
31+
- name: Check Xcode and Swift versions
32+
run: |
33+
xcodebuild -version
34+
swift --version
35+
36+
- name: Build Swift Models
37+
run: ./scripts/test-swift-modelgen.sh

0 commit comments

Comments
 (0)