2.7.0 #14
Workflow file for this run
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: Set up MSVC | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| arch: x64 | |
| - name: Build | |
| run: pixi run build | |
| - name: Package binary files | |
| shell: bash | |
| run: | | |
| eval "$(pixi shell-hook)" | |
| cp "$CONDA_PREFIX/Library/bin"/geos_c.dll build/ | |
| cp "$CONDA_PREFIX/Library/bin"/geos.dll build/ | |
| cp "$CONDA_PREFIX/Library/bin"/boost_filesystem*.dll build/ | |
| cp "$CONDA_PREFIX/Library/bin"/libgmp*.dll build/ | |
| cp "$CONDA_PREFIX/Library/bin"/libmpfr*.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 |