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

Commit

Permalink
chore: Windows x86 on GitHub Actions (#3041)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored Aug 25, 2021
1 parent 566dc27 commit 80d6c00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 60 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
- 15
- 16

architecture:
- x64
- x86

include:
- node: 12
os: windows-2016
Expand All @@ -36,9 +40,10 @@ jobs:
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
architecture: ${{ matrix.architecture }}

- name: Install packages
run: npm install --unsafe-perm
run: npm install
env:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true

Expand All @@ -48,7 +53,7 @@ jobs:
- uses: actions/upload-artifact@v2
if: github.repository_owner == 'sass' && github.event_name != 'pull_request'
with:
name: ${{ matrix.node }}
name: ${{ matrix.node }}-${{ matrix.architecture }}
path: |
vendor/**/binding.node
build/Release/binding.pdb
58 changes: 0 additions & 58 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,61 +77,3 @@
secure: IZIifH990iABY3PQUtkRscTU/NOyYYwptGB6B1y2b618vpphV/2KD/4IWJzSAYAi
on:
appveyor_repo_tag: true # deploy on tag push only

-
branches:
except:
- release
- /v\d\.\d\.\d/

skip_branch_with_pr: true
skip_tags: true

os: Visual Studio 2017

configuration: testing

platform:
- x86

version: "{build}"

build: off

clone_folder: c:\projects\node_modules\node-sass

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_script:
- ps: set-location -path c:\projects\node_modules\node-sass
- npm test

0 comments on commit 80d6c00

Please sign in to comment.