forked from STREGAsGate/GateEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 869 Bytes
/
macOS.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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