finki-main
main
|
Last change
on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
1002 bytes
|
| Line | |
|---|
| 1 | name: node-gyp integration
|
|---|
| 2 |
|
|---|
| 3 | on: [push, pull_request]
|
|---|
| 4 |
|
|---|
| 5 | jobs:
|
|---|
| 6 | test:
|
|---|
| 7 | strategy:
|
|---|
| 8 | fail-fast: false
|
|---|
| 9 | matrix:
|
|---|
| 10 | os: [macos-latest, ubuntu-latest, windows-latest]
|
|---|
| 11 | python: [3.6, 3.9]
|
|---|
| 12 |
|
|---|
| 13 | runs-on: ${{ matrix.os }}
|
|---|
| 14 | steps:
|
|---|
| 15 | - name: Clone gyp-next
|
|---|
| 16 | uses: actions/checkout@v2
|
|---|
| 17 | with:
|
|---|
| 18 | path: gyp-next
|
|---|
| 19 | - name: Clone nodejs/node-gyp
|
|---|
| 20 | uses: actions/checkout@v2
|
|---|
| 21 | with:
|
|---|
| 22 | repository: nodejs/node-gyp
|
|---|
| 23 | path: node-gyp
|
|---|
| 24 | - uses: actions/setup-node@v2
|
|---|
| 25 | with:
|
|---|
| 26 | node-version: 14.x
|
|---|
| 27 | - uses: actions/setup-python@v2
|
|---|
| 28 | with:
|
|---|
| 29 | python-version: ${{ matrix.python }}
|
|---|
| 30 | - name: Install dependencies
|
|---|
| 31 | run: |
|
|---|
| 32 | cd node-gyp
|
|---|
| 33 | npm install --no-progress
|
|---|
| 34 | - name: Replace gyp in node-gyp
|
|---|
| 35 | shell: bash
|
|---|
| 36 | run: |
|
|---|
| 37 | rm -rf node-gyp/gyp
|
|---|
| 38 | cp -r gyp-next node-gyp/gyp
|
|---|
| 39 | - name: Run tests
|
|---|
| 40 | run: |
|
|---|
| 41 | cd node-gyp
|
|---|
| 42 | npm test
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.