1 Star 0 Fork 0

bardian / node-sass

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appveyor.yml 2.28 KB
一键复制 编辑 原始数据 按行查看 历史
-
branches:
only:
- release
- /v\d\.\d\.\d/
except:
- master
os: Visual Studio 2017
configuration: release
platform:
- x86
version: "{build}"
build: off
clone_folder: c:\projects\node_modules\node-sass
# http://www.wintellect.com/devcenter/jrobbins/pdb-files-what-every-developer-must-know
# http://help.appveyor.com/discussions/kb/32-how-to-build-on-logical-drive-created-by-subst
init:
- cmd: >-
subst s: c:\projects
- ps: set-location -path s:\node_modules\node-sass
cache:
- '%userprofile%\.node-gyp'
- '%AppData%\npm-cache'
environment:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
matrix:
- nodejs_version: 12
GYP_MSVS_VERSION: 2017
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- nodejs_version: 14
GYP_MSVS_VERSION: 2017
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- nodejs_version: 15
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- nodejs_version: 16
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
install:
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
- node --version
- npm --version
- npm install
test: off
before_deploy:
# Save artifacts with full qualified names of binding.node and binding.pdb
# (which we use in node-sass-binaries repo)
- ps: >-
Get-ChildItem .\vendor\**\*.node | % {
( $BindingName = $_.FullName ).Split('\\') |
Select-Object -Last 2 | Select-Object -First 1 } |
.{ process { (
@( $BindingName,
( ( $_, "binding.node" ) -join '_' ) ),
@( ".\build\Release\binding.pdb",
( ( $_, "binding.pdb" ) -join '_' ) )
) } } | % { Push-AppveyorArtifact $_[0] -FileName $_[1] }
deploy:
- provider: GitHub
description: $(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
artifact:
auth_token:
secure: IZIifH990iABY3PQUtkRscTU/NOyYYwptGB6B1y2b618vpphV/2KD/4IWJzSAYAi
on:
appveyor_repo_tag: true # deploy on tag push only
1
https://gitee.com/zhurui536/node-sass.git
git@gitee.com:zhurui536/node-sass.git
zhurui536
node-sass
node-sass
master

搜索帮助