Skip to content

Commit

Permalink
known broken: Integrate vcpkg into the .xcodeproj.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotonen committed Jan 13, 2024
1 parent 7617e00 commit 3414ceb
Show file tree
Hide file tree
Showing 5 changed files with 2,249 additions and 2,524 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/pr-unit-tests-static-macos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Unit Tests / Required / Static / macOS

on:
pull_request:
merge_group:

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
31 changes: 26 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*.exe
*.out
*.app
anura

# Dependency files
*.d
Expand Down Expand Up @@ -87,13 +86,35 @@ anura.kdev4
.kdev4/

#Visual Studio build files.
*resouces.aps
*resouces.aps
vcpkg_installed/
windows/build/
windows/*-Release/
windows/*-Debug/
*resouces.aps

#Don't commit master-config.cfg by default.
#It should be copied or symlinked from a module.
master-config.cfg
# Xcode
xcuserdata/
*.xcscmblueprint
*.xccheckout
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

# Anura XCode build
/MacOS/vcpkg

# Don't commit master-config.cfg by default.
# It should be copied or symlinked from a module.
master-config.cfg

# The anura binary
/anura
Loading

0 comments on commit 3414ceb

Please sign in to comment.