File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
build :
11
11
runs-on : windows-latest
12
+ name : Build with introspection=${{ matrix.build_introspection }}
12
13
env :
13
14
PYTHONIOENCODING : " utf-8"
15
+ GIR_BUILD : " "
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ build_introspection : [ true, false ]
14
20
steps :
15
21
- uses : actions/checkout@master
16
22
- uses : actions/setup-python@v1
23
+ with :
24
+ python-version : ' 3.12'
17
25
- 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
18
38
- uses : BSFishy/meson-build@v1.0.3
19
39
with :
20
40
action : test
21
41
directory : _build
42
+ setup-options : ${{ env.GIR_BUILD }}
22
43
options : " --verbose"
23
44
meson-version : " 1.0.0"
You can’t perform that action at this time.
0 commit comments