Skip to content

progress

progress #543

Workflow file for this run

name: macOS
on:
workflow_dispatch:
push:
branches:
- 'main'
pull_request:
branches:
- '**'
jobs:
Build_Test-macOS-macOS:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer'
- name: Swift Version
run: swift --version
- name: Build using Swift x86_64
run: swift build --triple x86_64-apple-macos
- name: Build using Swift arm64
run: swift build --triple arm64-apple-macos
- name: Test using Swift
run: swift test
- name: Build using Xcode
run: xcodebuild -scheme GateEngine ONLY_ACTIVE_ARCH=NO -destination platform=macOS -configuration Release
- name: Test using Xcode
run: xcodebuild -scheme GateEngine -destination platform=macOS test