From 2db0f183ee31eeff55b4aedffa672a57e30a72b6 Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 18:56:33 -0700 Subject: [PATCH] Update nodejs.yml --- .github/workflows/nodejs.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 9bb5b82..9d0d378 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -17,7 +17,11 @@ jobs: - { os: ubuntu-latest, c-compiler: clang, cpp-compiler: clang++ } runs-on: ${{ matrix.platform.os }} - + env: + SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }} + CC: ${{ matrix.platform.c-compiler }} + CXX: ${{ matrix.platform.cpp-compiler }} + steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} @@ -28,10 +32,6 @@ jobs: run: | npm install npm test - env: - SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }} - CC: ${{ matrix.platform.c-compiler }} - CXX: ${{ matrix.platform.cpp-compiler }} build-gyp: strategy: @@ -46,7 +46,10 @@ jobs: - { os: ubuntu-latest, c-compiler: clang, cpp-compiler: clang++ } runs-on: ${{ matrix.platform.os }} - + env: + CC: ${{ matrix.platform.c-compiler }} + CXX: ${{ matrix.platform.cpp-compiler }} + steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} @@ -64,6 +67,3 @@ jobs: run: | node-gyp configure node-gyp build - env: - CC: ${{ matrix.platform.c-compiler }} - CXX: ${{ matrix.platform.cpp-compiler }}