Create swift-test.yml #6
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: Xcodebuild Workflow | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
Build-macOS-Project: | |
name: Build macOS project | |
runs-on: macos-latest | |
steps: | |
- name: Checkout from repository | |
uses: actions/checkout@v3 | |
- name: Print out help command from xcodebuild | |
run: xcodebuild -help | |
- name: List out project specs | |
run: xcodebuild -list -project TechSpeak.xcodeproj | |
- name: Clean macOS project | |
run: xcodebuild clean | |
- name: Build App | |
run: xcodebuild -project "TechSpeak.xcodeproj" -scheme "TechSpeak" -destination "generic/platform=macOS" -configuration Release build CODE_SIGNING_ALLOWED=NO | |