Skip to content

Commit

Permalink
ci: update to using M1 macos for builds and minimum deployment target…
Browse files Browse the repository at this point in the history
… to 10.15
  • Loading branch information
CMCDragonkai committed Jun 26, 2023
1 parent 7ba545b commit 6088a76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ build:macos:
stage: build
needs: []
tags:
- shared-macos-amd64
image: macos-11-xcode-12
- saas-macos-medium-m1
image: macos-12-xcode-14
variables:
# Location node-gyp installed headers and static libraries
npm_config_devdir: "${CI_PROJECT_DIR}/tmp/node-gyp"
Expand Down
6 changes: 3 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
'VCLinkerTool': {
'AdditionalDependencies': [
# SDK import libs
# Windows SDK libs required for rocksdb
'Shlwapi.lib',
'rpcrt4.lib'
]
Expand All @@ -68,8 +68,8 @@
'cflags+': [ '-fvisibility=hidden' ],
'cflags_cc+': [ '-fvisibility=hidden' ],
'xcode_settings': {
# Minimum mac osx target version (matches node v16.14.2)
'MACOSX_DEPLOYMENT_TARGET': '10.13',
# Minimum mac osx target version (matches node v18.15.0 common.gypi)
'MACOSX_DEPLOYMENT_TARGET': '10.15',
# This is also needed to prevent exporting of symbols
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES',
'OTHER_CFLAGS': [
Expand Down

0 comments on commit 6088a76

Please sign in to comment.