-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (39 loc) ยท 1.2 KB
/
feature.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: feature-test
on:
push:
branches: [ "feature/*" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0'
- name: initial mise
run: |
curl https://mise.run | sh \
echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
- name: initial tuist
run: mise install tuist
- name: generate project
# - run: expect <<EOF
# set timeout -1
# spawn make generate
# expect "GitHub access token๊ฐ์ ์
๋ ฅ ํด์ฃผ์ธ์: "
# send -- "$env(GITHUB_ACCESS_TOKEN)\r"
# expect eof
# EOF
run: make generate
# env:
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
- name: Build
run: |
xcodebuild \
-workspace Pokit.xcworkspace \
-scheme Pokit \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 15 pro,OS=16.0' build