Repository navigation
Dropping 32-bit Windows builds due to lack of support. Fixing CI. #87
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: ci-windows | |
| on: | |
| push: | |
| paths: | |
| - "**" | |
| - "!COPYING" | |
| - "!COPYING-asm" | |
| - "!INSTALL" | |
| - "!**.md" | |
| - "!.clang*" | |
| - "!.gitignore" | |
| - "!.gitattributes" | |
| - "!.github/workflows/*" | |
| - ".github/workflows/ci-windows.yml" | |
| pull_request: | |
| paths: | |
| - "**" | |
| - "!COPYING" | |
| - "!COPYING-asm" | |
| - "!INSTALL" | |
| - "!**.md" | |
| - "!.clang*" | |
| - "!.gitignore" | |
| - "!.gitattributes" | |
| - "!.github/workflows/*" | |
| - ".github/workflows/ci-windows.yml" | |
| jobs: | |
| ci-windows: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| generator: [make, msys] | |
| architecture: [x86_64] | |
| include: | |
| - generator: make | |
| cmake_generator: "Unix Makefiles" | |
| - generator: msys | |
| cmake_generator: "MSYS Makefiles" | |
| - architecture: x86_64 | |
| msystem: MINGW64 | |
| arch: x86_64 | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - name: Install dependencies | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: ${{ matrix.msystem }} | |
| install: base-devel git | |
| mingw-w64-${{ matrix.arch }}-toolchain mingw-w64-${{ matrix.arch }}-binutils | |
| mingw-w64-${{ matrix.arch }}-ntldd mingw-w64-${{ matrix.arch }}-boost | |
| mingw-w64-${{ matrix.arch }}-cmake | |
| - name: Checkout code | |
| uses: actions/checkout@master | |
| - name: Configure | |
| run: | | |
| cmake -S . -B build -G "${{ matrix.cmake_generator }}" | |
| - name: Build | |
| run: | | |
| cmake --build build -j2 |