Skip to content

fix mac build

fix mac build #20

Workflow file for this run

---
name: Build Hoods
# πŸ“œ https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
build_macOS:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Output XCode version
run: |
xcrun xcodebuild -version
- name: Build debug version
run: |
make build
- name: Test debug version
run: |
make test
build_iOS:
name: Build iOS
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Output XCode version
run: |
xcrun xcodebuild -version
- name: Show destinations
run: xcrun xcodebuild -showdestinations -scheme Hoods
- name: Build debug version
run: |
xcrun xcodebuild -skipMacroValidation -skipPackagePluginValidation build -scheme Hoods -destination generic/platform=ios
- name: Test debug version
run: |
xcrun xcodebuild -skipMacroValidation -skipPackagePluginValidation test -scheme Hoods -destination 'platform=iOS Simulator,name=iPhone 14'