use system zlib #1
This file contains hidden or 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: build-windows-x64 | |
| on: | |
| push: | |
| branches: | |
| - "*" | |
| env: | |
| PYTHON_VERSION: '3.10' | |
| FLAKY_TESTS: dontcare | |
| jobs: | |
| build-windows: | |
| if: github.event.pull_request.draft == false | |
| runs-on: windows-2019 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python ${{ env.PYTHON_VERSION }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Install deps | |
| run: choco install nasm | |
| - name: Environment Info | |
| run: npx envinfo | |
| - name: Build | |
| run: ./vcbuild.bat dll | |
| - name: Upload libnode.dll artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: libnode.dll | |
| path: out/Release/libnode.dll | |
| - name: Upload libnode.lib artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: libnode.lib | |
| path: out/Release/libnode.lib |