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+ fail-fast : false
18+ matrix :
19+ build_introspection : [ true, false ]
1420 steps :
1521 - uses : actions/checkout@master
1622 - uses : actions/setup-python@v1
23+ with :
24+ python-version : ' 3.12'
1725 - uses : seanmiddleditch/gha-setup-vsdevenv@master
26+ - name : Install GTK
27+ if : matrix.build_introspection
28+ run : |
29+ $WebClient = New-Object System.Net.WebClient
30+ $WebClient.DownloadFile("https://github.com/wingtk/gvsbuild/releases/download/2024.8.1/GTK4_Gvsbuild_2024.8.1_x64.zip","C:\GTK.zip")
31+ 7z x C:\GTK.zip -oC:\GTK
32+ echo "C:\GTK\lib" | Out-File -FilePath $env:GITHUB_PATH -Append
33+ echo "C:\GTK\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
34+ echo "C:\GTK" | Out-File -FilePath $env:GITHUB_PATH -Append
35+ echo "GIR_BUILD=-Dintrospection=enabled" >> $GITHUB_ENV
36+ python -m pip install setuptools
37+ 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
1838 - uses : BSFishy/meson-build@v1.0.3
1939 with :
2040 action : test
2141 directory : _build
42+ setup-options : ${{ env.GIR_BUILD }}
2243 options : " --verbose"
2344 meson-version : " 1.0.0"
You can’t perform that action at this time.
0 commit comments