Win CD #8
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: Win CD | |
| on: | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| jobs: | |
| build-windows: | |
| name: Build Windows | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: prefix-dev/setup-pixi@v0.8.1 | |
| - name: Build | |
| run: pixi run build | |
| - name: Package binary files | |
| shell: bash | |
| run: | | |
| PIXI_BIN=".pixi/envs/default/Library/bin" | |
| cp "$PIXI_BIN"/geos_c.dll build/ | |
| cp "$PIXI_BIN"/geos.dll build/ | |
| cp "$PIXI_BIN"/boost_filesystem*.dll build/ | |
| cp "$PIXI_BIN"/gmp*.dll build/ | |
| cp "$PIXI_BIN"/mpfr*.dll build/ | |
| cd build | |
| 7z a val3dity-win64.zip val3dity.exe *.dll | |
| - name: Upload binary files as artifact | |
| uses: actions/upload-artifact@main | |
| with: | |
| name: val3dity-win64 | |
| path: build/val3dity-win64.zip |