Skip to content

build: fix python search for gobject integration #148

build: fix python search for gobject integration

build: fix python search for gobject integration #148

Workflow file for this run

name: MSVC Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
name: Build with introspection=${{ matrix.build_introspection }}
env:
PYTHONIOENCODING: "utf-8"
GIR_BUILD: ""
strategy:
matrix:
build_introspection: [ "False", "True" ]
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
- uses: seanmiddleditch/gha-setup-vsdevenv@master
- name: Install GTK
if: contains(matrix.build_introspection, 'True')
run: |
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile("https://github.com/deluge-torrent/gvsbuild-release/releases/download/latest/gvsbuild-py3.10-vs16-x64.zip","C:\GTK.zip")
7z x C:\GTK.zip -oC:\GTK
echo "C:\GTK\release\lib" | Out-File -FilePath $env:GITHUB_PATH -Append
echo "C:\GTK\release\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
echo "C:\GTK\release" | Out-File -FilePath $env:GITHUB_PATH -Append
echo "GIR_BUILD=-Dintrospection=enabled" >> $GITHUB_ENV
- uses: BSFishy/meson-build@v1.0.3
with:
action: test
directory: _build
setup-options: ${{ env.GIR_BUILD }}
options: "--verbose"
meson-version: "0.55.3"