Merge pull request #792 from msoos/only-build-on-pull #61
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
| on: push | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: ucrt64 | |
| update: true | |
| install: mingw-w64-ucrt-x86_64-toolchain base-devel cmake git zlib gmp-devel msys2-runtime-devel ninja | |
| - shell: msys2 {0} | |
| run: ./scripts/build_static_Windows_binary.sh | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: cryptominisat5-win | |
| path: | | |
| build/cryptominisat/build/cryptominisat5.exe | |
| build/cryptominisat/build/lib/* | |
| build/cryptominisat/build/include/* |