Skip to content

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 81c5ae6 commit d17cf27
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- { os: windows-latest }
- { os: macos-latest, force-hunspell: true }
- { os: macos-latest }
- { os: ubuntu-latest }
- { os: ubuntu-latest, use-clang: true }

runs-on: ${{ matrix.platform.os }}
Expand All @@ -26,14 +25,15 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Clang env
- name: npm install, build, and test (clang)
if: matrix.platform.use-clang == true
run: |
export CC="$(which clang)"
export CPP="$(which clang++)"
npm install
npm test
- name: npm install, build, and test
run: |
echo "Using $CC"
npm install
npm test
Expand All @@ -46,7 +46,6 @@ jobs:
platform:
- { os: windows-latest }
- { os: macos-latest }
- { os: ubuntu-latest }
- { os: ubuntu-latest, use-clang: true }

runs-on: ${{ matrix.platform.os }}
Expand All @@ -61,15 +60,16 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Clang env
- 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++)"
- name: node-gyp install
run: |
echo "Using $CC"
npm install -g node-gyp
node-gyp configure
node-gyp build
- name: node-gyp configure & build
run: |
node-gyp configure
Expand Down

0 comments on commit d17cf27

Please sign in to comment.