Skip to content

Add a workflow for publishing DocC on every commit #3

Add a workflow for publishing DocC on every commit

Add a workflow for publishing DocC on every commit #3

Workflow file for this run

# This workflow builds and tests the project.
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Build Runner
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.1.0'
- name: Build iOS
run: xcodebuild -project Demo/Demo.xcodeproj build -sdk iphoneos -allowProvisioningUpdates -scheme 'Demo' -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2'
- name: Test iOS
run: xcodebuild -project Demo/Demo.xcodeproj test -sdk iphoneos -allowProvisioningUpdates -scheme 'DemoTests' -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' -enableCodeCoverage YES