Skip to content

Commit 927f61e

Browse files
committed
test: ci v4
1 parent f734c69 commit 927f61e

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
name: iOS CI
22

33
on:
4-
push:
54
pull_request:
65

76
jobs:
87
build:
9-
runs-on: macos-13 # iOS 16 시뮬레이터 런타임 포함
8+
runs-on: macos-14 # iOS 17 시뮬레이터 런타임 포함
109
steps:
1110
- uses: actions/checkout@v4
1211

13-
- name: Select iOS Simulator Runtime (>= 16.0)
12+
- name: Select iOS Simulator Runtime (>= 17.0)
1413
id: pick_ios
1514
shell: bash
1615
run: |
1716
set -euo pipefail
1817
19-
MIN_IOS="16.0"
18+
MIN_IOS="17.0"
2019
2120
# 설치된 iOS Simulator 런타임 버전들 추출 (예: 17.2, 18.0 ...)
2221
# 출력 포맷이 달라질 수 있어, "iOS <version>" 패턴에서 숫자만 뽑습니다.
@@ -58,7 +57,10 @@ jobs:
5857
5958
# 스킴 목록 수집 (가장 짧은 이름 선택)
6059
SCHEMES_JSON=$(xcodebuild -list -json)
61-
mapfile -t SCHEMES < <(python3 -c 'import json, os; data=json.loads(os.environ["SCHEMES_JSON"]); schemes=data.get("workspace", {}).get("schemes") or data.get("project", {}).get("schemes") or []; print("\n".join(schemes))')
60+
SCHEMES=()
61+
while IFS= read -r s; do
62+
SCHEMES+=("$s")
63+
done < <(python3 -c 'import json, os; data=json.loads(os.environ["SCHEMES_JSON"]); schemes=data.get("workspace", {}).get("schemes") or data.get("project", {}).get("schemes") or []; print("\n".join(schemes))')
6264
6365
if [ "${#SCHEMES[@]}" -eq 0 ]; then
6466
echo "No schemes found." >&2

0 commit comments

Comments
 (0)