This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
deps(detect-libc): detect-libc is required for install scripts #984
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "ci" | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- "release/*" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- run: npm ci | |
- run: | | |
git config clangFormat.binary node_modules/.bin/clang-format | |
git config clangFormat.style file | |
npm run lint | |
build-test-matrix: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, windows-2019, ubuntu-latest] | |
node-version: [14.x, 16.x, 18.x, 20.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: npm run clean | |
- name: Setup windows build tools | |
uses: microsoft/[email protected] | |
if: ${{ runner.os == 'Windows' }} | |
- run: npm install | |
- run: npm run build:configure | |
- run: npm run build | |
- run: npm run test --silent |