Skip to content

Commit

Permalink
[choe] #29 테스트용 워크플로우 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Jul 10, 2024
1 parent 8b0e76d commit 77f5f1d
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 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: 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

0 comments on commit 77f5f1d

Please sign in to comment.