Save progress #1
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: Windows Build | |
| on: | |
| push: | |
| branches: [ windows-build ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| msys2: | |
| name: MSYS2 MinGW64 | |
| runs-on: windows-latest | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup Python 3.13 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| architecture: 'x64' | |
| - name: Setup MSYS2 MINGW64 | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: MINGW64 | |
| update: true | |
| install: >- | |
| mingw-w64-x86_64-toolchain | |
| mingw-w64-x86_64-cmake | |
| mingw-w64-x86_64-openssl | |
| mingw-w64-x86_64-zeromq | |
| mingw-w64-x86_64-libsodium | |
| mingw-w64-x86_64-hidapi | |
| mingw-w64-x86_64-unbound | |
| mingw-w64-x86_64-protobuf | |
| mingw-w64-x86_64-libusb | |
| git | |
| make | |
| gettext | |
| base-devel | |
| wget | |
| - name: Install ICU v75.1.1 | |
| shell: msys2 {0} | |
| run: | | |
| wget https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-icu-75.1-1-any.pkg.tar.zst | |
| pacman -U --noconfirm mingw-w64-x86_64-icu-75.1-1-any.pkg.tar.zst | |
| - name: Install boost v1.85.0 | |
| shell: msys2 {0} | |
| run: | | |
| wget https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-boost-1.85.0-4-any.pkg.tar.zst | |
| pacman -U --noconfirm mingw-w64-x86_64-boost-1.85.0-4-any.pkg.tar.zst | |
| - name: Install pybind11 v2.11.1 | |
| shell: msys2 {0} | |
| run: | | |
| wget https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-pybind11-2.11.1-1-any.pkg.tar.zst | |
| pacman -U --noconfirm mingw-w64-x86_64-pybind11-2.11.1-1-any.pkg.tar.zst | |
| - name: Build monero | |
| shell: msys2 {0} | |
| run: | | |
| cd external/monero-cpp/external/monero-project | |
| make release-static-win64 | |
| - name: Build monero-cpp | |
| shell: msys2 {0} | |
| run: | | |
| cd external/monero-cpp | |
| mkdir -p build | |
| cd build | |
| cmake .. | |
| cmake --build . | |
| - name: Build monero-python | |
| shell: msys2 {0} | |
| run: | | |
| mkdir -p build | |
| cd build | |
| cmake .. | |
| cmake --build . | |
| - name: Upload .pyd | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: monero-python-win-amd64 | |
| path: dist/*.pyd |