Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
befe39c9
Commit
befe39c9
authored
Nov 11, 2014
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appveyor: try building for custom toolset
parent
ffe9b325
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
22 deletions
+31
-22
appveyor.yml
appveyor.yml
+30
-21
package.json
package.json
+1
-1
No files found.
appveyor.yml
View file @
befe39c9
...
@@ -7,42 +7,51 @@ environment:
...
@@ -7,42 +7,51 @@ environment:
-
nodejs_version
:
0.10.30
-
nodejs_version
:
0.10.30
nw_version
:
0.8.6
nw_version
:
0.8.6
PLATFORM
:
x86
PLATFORM
:
x86
msvs_toolset
:
12
TOOLSET_ARGS
:
-
nodejs_version
:
0.10.30
-
nodejs_version
:
0.10.30
nw_version
:
0.8.6
nw_version
:
0.8.6
PLATFORM
:
x64
PLATFORM
:
x64
-
nodejs_version
:
0.11.13
msvs_toolset
:
12
nw_version
:
0.10.5
TOOLSET_ARGS
:
PLATFORM
:
x86
-
nodejs_version
:
0.10.30
-
nodejs_version
:
0.11.13
nw_version
:
0.8.6
nw_version
:
0.10.5
PLATFORM
:
x64
PLATFORM
:
x64
msvs_toolset
:
14
TOOLSET_ARGS
:
--toolset=cpp11 --dist-url=https://s3.amazonaws.com/mapbox/node-cpp11/
# - nodejs_version: 0.11.13
# nw_version: 0.10.5
# PLATFORM: x86
# msvs_toolset: 12
# - nodejs_version: 0.11.13
# nw_version: 0.10.5
# PLATFORM: x64
# msvs_toolset: 12
os
:
Visual Studio 2014 CTP4
os
:
Visual Studio 2014 CTP4
install
:
install
:
-
ps
:
Update-NodeJsInstallation $env:nodejs_version $env:Platform
# add local node to path (since we install it for msvs_toolset == 14)
-
node --version
-
SET PATH=%CD%;%PATH%;
-
npm --version
-
echo %PLATFORM%
-
SET PATH=c:\python27;%PATH%
-
SET PATH=C:\Program Files (x86)\MSBuild\14.0\bin\;%PATH%
-
if %platform% == x64 CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
-
if %platform% == x86 CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64_x86
-
SET PATH=%APPDATA%\npm;%PATH%
# add local node-pre-gyp dir to path
# add local node-pre-gyp dir to path
-
SET PATH=node_modules\.bin;%PATH%
-
SET PATH=node_modules\.bin;%PATH%
# # work around old npm problem with ^
# use 64 bit python if platform is 64 bit
-
npm update npm -g
-
if "%PLATFORM%" == "x64" set PATH=C:\Python27-x64;%PATH%
-
npm --version
# install node version per visual studio toolset
-
if "%msvs_toolset%" == "12" powershell Install-Product node $env:nodejs_version $env:Platform
-
if "%msvs_toolset%" == "14" powershell Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
# upgrade node-gyp to support --msvs_version=2013
# upgrade node-gyp to support --msvs_version=2013
-
npm install node-gyp
-
npm install node-gyp
-
npm install --build-from-source --msvs_version=2013 --dist-url=https://s3.amazonaws.com/mapbox/node-cpp11/v0.10.33
-
SET PATH=C:\Program Files (x86)\MSBuild\%msvs_toolset%.0\bin\;%PATH%
-
if %platform% == x64 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64
-
if %platform% == x86 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64_x86
-
npm install --build-from-source --msvs_version=2013 %TOOLSET_ARGS%
-
npm test
-
npm test
-
node-pre-gyp package
-
node-pre-gyp package
%TOOLSET_ARGS%
# make commit message env var shorter
# make commit message env var shorter
-
SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
-
SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
-
if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish
-
if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish
%TOOLSET_ARGS%
-
call scripts\build_for_node_webkit.cmd %PLATFORM%
-
if "%msvs_toolset%" == "12"
call scripts\build_for_node_webkit.cmd %PLATFORM%
build
:
OFF
build
:
OFF
test
:
OFF
test
:
OFF
...
...
package.json
View file @
befe39c9
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
"module_name"
:
"node_sqlite3"
,
"module_name"
:
"node_sqlite3"
,
"module_path"
:
"./lib/binding/{node_abi}-{platform}-{arch}"
,
"module_path"
:
"./lib/binding/{node_abi}-{platform}-{arch}"
,
"host"
:
"https://mapbox-node-binary.s3.amazonaws.com"
,
"host"
:
"https://mapbox-node-binary.s3.amazonaws.com"
,
"remote_path"
:
"./{name}/v{version}/"
,
"remote_path"
:
"./{name}/v{version}/
{toolset}/
"
,
"package_name"
:
"{node_abi}-{platform}-{arch}.tar.gz"
"package_name"
:
"{node_abi}-{platform}-{arch}.tar.gz"
},
},
"contributors"
:
[
"contributors"
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment