Skip to content

Commit

Permalink
Attempt build on older glibc (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreavis committed Mar 10, 2022
1 parent a869bf7 commit 91fad71
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-11, windows-2019]
os: [ubuntu-18.04, macos-11, windows-2019]
node: [12.x, 14.x, 16.x, 17.x]
architecture: [x64]
steps:
Expand All @@ -22,13 +22,22 @@ jobs:
with:
node-version: ${{ matrix.node }}
architecture: ${{ matrix.architecture_node }}
- run: node --version
- run: npm --version
- name: Node Version
run: node --version
- name: NPM Version
run: npm --version
- run: npm install [email protected] --global
- run: npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe"
if: ${{ runner.os == 'Windows' }}
- run: export CXX=g++-6 CXXFLAGS=-std=c++14 CC=gcc-6
- name: GCC Flags
if: ${{ runner.os == 'Linux' }}
run: |
echo "CC=gcc-6" >> $GITHUB_ENV
echo "CXX=g++-6" >> $GITHUB_ENV
echo "CXXFLAGS=-std=c++14" >> $GITHUB_ENV
- name: GCC Version
if: ${{ runner.os == 'Linux' }}
run: $CC --version
- run: npm install --build-from-source
env:
npm_config_arch: ${{ matrix.architecture }}
Expand Down

0 comments on commit 91fad71

Please sign in to comment.