Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Update nodejs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
goddessfreya authored Dec 20, 2019
1 parent 18e838f commit 1a0243e
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,41 +36,3 @@ jobs:
run: |
npm install
npm test
build-gyp:
strategy:
fail-fast: false
matrix:
node-version: [8.x, 10.x, 12.x]
python-version: [3.6, 3.7, 3.8] # 2.7, 3.5,
platform:
- { os: windows-latest }
- { os: macos-latest }
- { os: ubuntu-latest, use-clang: true }

runs-on: ${{ matrix.platform.os }}

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: node-gyp install
run: |
npm install -g node-gyp
- name: node-gyp configure & build (clang)
if: matrix.platform.use-clang == true
run: |
export CC="$(which clang)"
export CPP="$(which clang++)"
node-gyp configure
node-gyp build
- name: node-gyp configure & build
run: |
node-gyp configure
node-gyp build

0 comments on commit 1a0243e

Please sign in to comment.