Update and fix Mac CI builds

- GitHub discontinued Actions runners for macos-10 and macos-11, so we
  build cboe on macos-12 now
- The path to Xcode.app has changed
- mac scons build wanted a new include statement for vector
- hint scons to look for boost 1.85, not 1.58.
This commit is contained in:
2024-05-27 20:18:14 -06:00
committed by Celtic Minstrel
parent eef0112589
commit 8af5a9e1ca
3 changed files with 5 additions and 4 deletions

View File

@@ -12,9 +12,9 @@
jobs: {
macos-xcode: {
runs-on: macos-10.15,
runs-on: macos-12,
env: {
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_13.4.app/Contents/Developer
},
steps: [
{
@@ -45,7 +45,7 @@
]
},
macos-scons: {
runs-on: macos-10.15,
runs-on: macos-12,
steps: [
{
name: checkout,

View File

@@ -213,7 +213,7 @@ if platform == 'darwin':
# pretty sketchy, but should point to your boost install
if subprocess.call(['which', '-s', 'brew']) == 0: # HomeBrew
brew_boost_version = '1.58.0'
brew_boost_version = '1.85.0'
env.Append(
LIBPATH=['/usr/local/Cellar/boost/'+brew_boost_version+'/lib'],
CPPPATH=['/usr/local/Cellar/boost/'+brew_boost_version+'/include'])

View File

@@ -15,6 +15,7 @@
#include <unordered_map>
#include <memory>
#include <sstream>
#include <vector>
namespace ResMgr {
namespace fs = boost::filesystem;