-
Notifications
You must be signed in to change notification settings - Fork 80
45 lines (38 loc) · 1.19 KB
/
push-unit-tests-static-macos.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
name: Unit Tests / Required / Static / macOS
on: push
env:
VCPKG_DISABLE_METRICS: 1
jobs:
build:
name: 'macOS Ventura'
runs-on: macos-13
strategy:
fail-fast: false
matrix:
build-type:
- Release
- Debug
steps:
- name: Checkout Anura
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# We need the full history for the vcpkg integration to work
fetch-depth: 0
submodules: true
# Sets a cache up for vcpkg
- name: Install vcpkg
uses: lukka/run-vcpkg@abed23940f9d7bc267b0e1a21ee7b699a3794baa # v11.1
- name: Install XCode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.3.1'
- name: Install Build Time Dependencies
run: |
brew install \
automake \
autoconf \
autoconf-archive
- name: Build Anura
run: xcodebuild -configuration "${{ matrix.build-type }}" -target Frogatto -project MacOS/Frogatto.xcodeproj
- name: Run Unit Tests
run: ./MacOS/build/"${{ matrix.build-type }}"/Frogatto.app/Contents/MacOS/Frogatto --tests