CI/CD 및 코드 사이닝 개선 #108
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
# 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: build-test | |
on: | |
pull_request: | |
branches: | |
- develop | |
workflow_dispatch: | |
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.4' | |
- uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_KEY }} | |
known_hosts: ${{ secrets.KNOWN_HOSTS }} | |
- name: initial mise | |
run: | | |
curl https://mise.jdx.dev/install.sh | sh | |
echo "$HOME/.local/share/mise/bin" >> $GITHUB_PATH | |
echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH | |
- name: initial tuist | |
run: mise install tuist | |
- name: Test Generate | |
env: | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }} | |
run: | | |
fastlane development_profile | |
make test | |
- name: Build Test | |
run: fastlane build |