File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 runs-on : windows-latest
12+ name : Build with introspection=${{ matrix.build_introspection }}
1213 env :
1314 PYTHONIOENCODING : " utf-8"
15+ GIR_BUILD : " "
16+ strategy :
17+ matrix :
18+ build_introspection : [ "False", "True" ]
1419 steps :
1520 - uses : actions/checkout@master
1621 - uses : actions/setup-python@v1
1722 - uses : seanmiddleditch/gha-setup-vsdevenv@master
23+ - name : Install GTK
24+ if : contains(matrix.build_introspection, 'True')
25+ run : |
26+ $WebClient = New-Object System.Net.WebClient
27+ $WebClient.DownloadFile("https://github.com/deluge-torrent/gvsbuild-release/releases/download/latest/gvsbuild-py3.10-vs16-x64.zip","C:\GTK.zip")
28+ 7z x C:\GTK.zip -oC:\GTK
29+ echo "C:\GTK\release\lib" | Out-File -FilePath $env:GITHUB_PATH -Append
30+ echo "C:\GTK\release\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
31+ echo "C:\GTK\release" | Out-File -FilePath $env:GITHUB_PATH -Append
32+ echo "GIR_BUILD=-Dintrospection=enabled" >> $GITHUB_ENV
1833 - uses : BSFishy/meson-build@v1.0.3
1934 with :
2035 action : test
2136 directory : _build
37+ setup-options : ${{ env.GIR_BUILD }}
2238 options : " --verbose"
2339 meson-version : " 0.55.3"
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ graphene_dep_sources = []
9797
9898# Introspection
9999if build_gir
100- python = python.find_installation(' python3 ' )
100+ python = python.find_installation()
101101 identfilter_py = join_paths (meson .current_source_dir(), ' identfilter.py' )
102102
103103 gir_extra_args = [
You can’t perform that action at this time.
0 commit comments