From 686eb245b1ab9d9e37d7cdfe6248b89bf3434c2e Mon Sep 17 00:00:00 2001 From: Sangyun Jeong Date: Fri, 24 Nov 2023 00:40:57 +0900 Subject: [PATCH] =?UTF-8?q?[iOS]=20Build=20:=20swift.yml=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/swift.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 7861ef7..993574e 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -1,7 +1,7 @@ # 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: Swift +name: iOS on: push: @@ -12,11 +12,15 @@ on: jobs: build: - runs-on: macos-latest + runs-on: macos-13-xlarge steps: + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '14.3.1' - uses: actions/checkout@v3 - - name: Build - run: swift build -v - - name: Run tests - run: swift test -v + - name: Start xcode build + run: | + xcodebuild clean test -project iOS/Village/Village.xcodeproj \ + -scheme Village \ + -destination 'platform=iOS Simulator,name=iPhone 13 Pro,OS=latest'