progress #543
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |