[Windows] Add windows CI [depends on #2987] #7
Workflow file for this run
This file contains 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 submodules | |
run: git submodule sync && git submodule update --init --recursive | |
- 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: meson setup --native-file windows-native.ini builddir | |
- name: Run Build | |
run: meson compile -C builddir | |
# - name: Run Test Suite | |
# run: meson test -C builddir |