Skip to content

Create swift-test.yml #6

Create swift-test.yml

Create swift-test.yml #6

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