Skip to content

add readme hint on how to fix c++config.h build errors, and apply it … #2

add readme hint on how to fix c++config.h build errors, and apply it …

add readme hint on how to fix c++config.h build errors, and apply it … #2

Workflow file for this run

name: build
on:
push:
# branches: [ $default-branch, ar-test ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# 0.10 and 0.8 might need a newer qmock
node: [ 0.11.x, 6, 8, 12, 16, 5.8.0 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
# work around the "bits/c++config.h: No such file or directory" github build error
- run: sudo apt-get install gcc-multilib g++-multilib || true
- name: npm test
run: test `node -v` '!=' 'v5.8.0' && npm test || true
- name: install nyc
if: ${{ matrix.node == '5.8.0' }}
run: npm install -g [email protected]
- name: test coverage
if: ${{ matrix.node == '5.8.0' }}
run: npm run coverage
- name: upload coverage
if: ${{ matrix.node == '5.8.0' }}
uses: coverallsapp/[email protected]
with:
github-token: ${{ github.token }}