[Windows] Add Windows CI #3
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 Meson build & test | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| name: Windows Meson build & test | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: -${{ github.event.pull_request.commits }} | |
| - name: Install Python Dependencies | |
| run: pip install meson ninja | |
| - name: Prepare MSVC | |
| uses: bus1/cabuild/action/msdevshell@v1 | |
| with: | |
| architecture: x64 | |
| - name: Prepare Build | |
| run: setup --native-file windows-native.ini builddir | |
| - name: Run Build | |
| run: meson compile -C builddir | |
| - name: Run Test Suite | |
| run: meson test -C builddir |