Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 80d6c00

Browse files
authored
chore: Windows x86 on GitHub Actions (#3041)
1 parent 566dc27 commit 80d6c00

File tree

2 files changed

+7
-60
lines changed

2 files changed

+7
-60
lines changed

.github/workflows/windows.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
- 15
2020
- 16
2121

22+
architecture:
23+
- x64
24+
- x86
25+
2226
include:
2327
- node: 12
2428
os: windows-2016
@@ -36,9 +40,10 @@ jobs:
3640
uses: actions/setup-node@v2.4.0
3741
with:
3842
node-version: ${{ matrix.node }}
43+
architecture: ${{ matrix.architecture }}
3944

4045
- name: Install packages
41-
run: npm install --unsafe-perm
46+
run: npm install
4247
env:
4348
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
4449

@@ -48,7 +53,7 @@ jobs:
4853
- uses: actions/upload-artifact@v2
4954
if: github.repository_owner == 'sass' && github.event_name != 'pull_request'
5055
with:
51-
name: ${{ matrix.node }}
56+
name: ${{ matrix.node }}-${{ matrix.architecture }}
5257
path: |
5358
vendor/**/binding.node
5459
build/Release/binding.pdb

appveyor.yml

-58
Original file line numberDiff line numberDiff line change
@@ -77,61 +77,3 @@
7777
secure: IZIifH990iABY3PQUtkRscTU/NOyYYwptGB6B1y2b618vpphV/2KD/4IWJzSAYAi
7878
on:
7979
appveyor_repo_tag: true # deploy on tag push only
80-
81-
-
82-
branches:
83-
except:
84-
- release
85-
- /v\d\.\d\.\d/
86-
87-
skip_branch_with_pr: true
88-
skip_tags: true
89-
90-
os: Visual Studio 2017
91-
92-
configuration: testing
93-
94-
platform:
95-
- x86
96-
97-
version: "{build}"
98-
99-
build: off
100-
101-
clone_folder: c:\projects\node_modules\node-sass
102-
103-
init:
104-
- cmd: >-
105-
subst s: c:\projects
106-
- ps: set-location -path s:\node_modules\node-sass
107-
108-
cache:
109-
- '%userprofile%\.node-gyp'
110-
- '%AppData%\npm-cache'
111-
112-
environment:
113-
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
114-
matrix:
115-
- nodejs_version: 12
116-
GYP_MSVS_VERSION: 2017
117-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
118-
- nodejs_version: 14
119-
GYP_MSVS_VERSION: 2017
120-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
121-
- nodejs_version: 15
122-
GYP_MSVS_VERSION: 2019
123-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
124-
- nodejs_version: 16
125-
GYP_MSVS_VERSION: 2019
126-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
127-
128-
install:
129-
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
130-
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
131-
- node --version
132-
- npm --version
133-
- npm install
134-
135-
test_script:
136-
- ps: set-location -path c:\projects\node_modules\node-sass
137-
- npm test

0 commit comments

Comments
 (0)