๐ :: [#270] ๋ฉ์ธ ์๋ก๊ณ ์นจ ์ถ๊ฐ, ์ฑ ์คํ ์ด๋๋ฏผ ๊ณ ์ ์ค๋ฅ #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GOMS CI | |
on: | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Select Xcode | |
run: sudo xcode-select -s /Applications/Xcode_14.3.app | |
- name: Install Dependencies | |
run: | | |
pod install --repo-update | |
- name: Build | |
run: | | |
xcodebuild clean build -workspace GOMS-iOS-V2.xcworkspace -scheme "GOMS-iOS-V2" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 14,OS=16.4" ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | |
# - name: Run tests | |
# run: | | |
# xcodebuild test -workspace GOMS-iOS-V2.xcworkspace -scheme "GOMS-iOS-V2" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 14,OS=16.4" ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | |
- name: Success Discord Notification | |
uses: sarisia/actions-status-discord@v1 | |
if: ${{ success() }} | |
with: | |
title: CI ์ฑ๊ณต! | |
webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
status: ${{ job.status }} | |
image: ${{ secrets.CI_SUCCESS_IMAGE }} | |
description: CI๋ฅผ ์ฑ๊ณตํ์ต๋๋ค. | |
color: 00FF00 | |
username: CI Bot | |
url: https://github.com/team-haribo/GOMS-iOS-V2 | |
- name: Failed Discord Notification | |
uses: sarisia/actions-status-discord@v1 | |
if: ${{ failure() }} | |
with: | |
title: CI ์คํจ! | |
webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
status: ${{ job.status }} | |
image: ${{ secrets.CI_FAIL_IMAGE }} | |
description: CI๋ฅผ ์คํจํ์ต๋๋ค. | |
color: FF0000 | |
username: CI Bot | |
url: https://github.com/team-haribo/GOMS-iOS-V2 |