Repository navigation
Complete GeoKernel-Lite update #11
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 | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-test: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: UCRT64 | |
| update: true | |
| install: mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Python dependencies | |
| run: python -m pip install -r requirements.txt | |
| - name: Configure | |
| shell: msys2 {0} | |
| run: cmake -S . -B build -G Ninja | |
| - name: Build | |
| shell: msys2 {0} | |
| run: cmake --build build | |
| - name: C++ tests | |
| shell: msys2 {0} | |
| run: ctest --test-dir build --output-on-failure | |
| - name: Python tests | |
| run: pytest |