Skip to content

👷 Optimize CI builds #10

👷 Optimize CI builds

👷 Optimize CI builds #10

Workflow file for this run

# 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: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
id-token: write
concurrency:
group: "CI"
jobs:
build:
runs-on: macos-latest
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Select Xcode version
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Build and Tests
run: xcodebuild build -scheme HUDHero -sdk iphonesimulator17.5 -destination "OS=17.5,name=iPhone 15 Pro" -resultBundlePath HUDHero.xcresult test
- name: Display test results
uses: jobearrr/xcresulttool@v1
with:
path: HUDHero.xcresult
if: success() || failure()