-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 963 Bytes
/
Copy pathci.yml
File metadata and controls
30 lines (28 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test-and-build:
runs-on: macos-26
steps:
- uses: actions/checkout@v4
- name: Select newest available Xcode
run: |
latest=$(ls -d /Applications/Xcode_*.app 2>/dev/null | sort -V | tail -1)
if [ -n "$latest" ]; then
sudo xcode-select -s "$latest"
fi
xcodebuild -version
echo "--- available SDKs ---"
xcodebuild -showsdks
- name: Verify macOS 26 SDK is available
run: xcodebuild -showsdks | grep -qi 'macosx26' || { echo "::error::No macOS 26 SDK on this runner — Podium requires it for Liquid Glass APIs."; exit 1; }
- name: Package tests
run: swift test
- name: Build app
run: |
brew install xcodegen
xcodegen generate
xcodebuild -project Podium.xcodeproj -scheme Podium -configuration Debug CODE_SIGNING_ALLOWED=NO build