From 5599cb5bfe0e1bf8e7f4df676c2c96330b6fcee0 Mon Sep 17 00:00:00 2001 From: DjLegolas Date: Sat, 25 Jan 2025 00:18:00 +0200 Subject: [PATCH] CI: add testing with GTK build for Windows (msvc) Closes: #265 --- .github/workflows/msvc-env.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/msvc-env.yml b/.github/workflows/msvc-env.yml index de0d8e5..1127b99 100644 --- a/.github/workflows/msvc-env.yml +++ b/.github/workflows/msvc-env.yml @@ -19,7 +19,7 @@ jobs: build_introspection: [ true, false ] steps: - uses: actions/checkout@master - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v5 with: python-version: '3.12' - uses: seanmiddleditch/gha-setup-vsdevenv@master @@ -37,12 +37,23 @@ jobs: python -m pip install C:\GTK\python\pycairo-1.26.1-cp312-cp312-win_amd64.whl C:\GTK\python\pygobject-3.48.2-cp312-cp312-win_amd64.whl - name: Prebuild run: | - echo %PATH% - where python - where meson + write PWD + $pwd.Path + write PWD content + get-childitem $pwd + write python checks + (get-command py).Path + (get-command python).Path + py -0p python -V + write install meson and check python -m pip install meson==1.0.0 - python C:/GTK/bin/g-ir-scanner --help + (get-command meson).Path + write run py g-ir-scanner + py C:\GTK\bin\g-ir-scanner --help + write run python g-ir-scanner + python C:\GTK\bin\g-ir-scanner --help + write meson setup meson setup _build - uses: BSFishy/meson-build@v1.0.3 with: