Skip to content

Commit 090309a

Browse files
authored
[chore] #29 워크플로우 작성
1 parent 1b6aa71 commit 090309a

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/develop.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This workflow will build a Swift project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3+
4+
name: deveplop workflow
5+
6+
on:
7+
pull_request:
8+
branches: [ "develop" ]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: macos-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up Xcode
19+
uses: maxim-lobanov/setup-xcode@v1
20+
with:
21+
xcode-version: '15.0'
22+
23+
- name: generate project
24+
# - run: expect <<EOF
25+
# set timeout -1
26+
# spawn make generate
27+
# expect "GitHub access token값을 입력 해주세요: "
28+
# send -- "$env(GITHUB_ACCESS_TOKEN)\r"
29+
# expect eof
30+
# EOF
31+
run: make generate
32+
# env:
33+
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
34+
35+
- name: Build
36+
run: |
37+
xcodebuild \
38+
-workspace Pokit.xcworkspace \
39+
-scheme Pokit \
40+
-sdk iphonesimulator \
41+
-destination 'platform=iOS Simulator,name=iPhone 15 pro,OS=16.0' build

0 commit comments

Comments
 (0)