nodejs-windows.yml 639 B

123456789101112131415161718192021222324252627
  1. name: Node.js Windows integration
  2. on: [push, pull_request]
  3. jobs:
  4. build-windows:
  5. runs-on: windows-latest
  6. steps:
  7. - name: Clone gyp-next
  8. uses: actions/checkout@v2
  9. with:
  10. path: gyp-next
  11. - name: Clone nodejs/node
  12. uses: actions/checkout@v2
  13. with:
  14. repository: nodejs/node
  15. path: node
  16. - name: Install deps
  17. run: choco install nasm
  18. - name: Replace gyp in Node.js
  19. run: |
  20. rm -Recurse node/tools/gyp
  21. cp -Recurse gyp-next node/tools/gyp
  22. - name: Build Node.js
  23. run: |
  24. cd node
  25. ./vcbuild.bat