@@ -10,11 +10,11 @@ jobs:
10
10
11
11
gvsbuild :
12
12
name : build GTK binaries with gvsbuild
13
- runs-on : windows-2019
13
+ runs-on : windows-2022
14
14
15
15
env :
16
16
# git revision of gvsbuild we use for to build GTK and the other dependencies
17
- gvsbuildref : 861244f84a04da49172c23646d9e23885094cab4
17
+ gvsbuildref : 078140d0b7dcfd6147b3063114fb38365b7ad5a1
18
18
19
19
# bump this number if you want to force a rebuild of gvsbuild with the same revision
20
20
gvsbuildupdate : 1
@@ -45,17 +45,25 @@ jobs:
45
45
# Temporarily move the preinstalled git, it causes errors related to cygwin.
46
46
- name : (GTK binaries) move git binary
47
47
if : steps.cache.outputs.cache-hit != 'true'
48
- run : move "C:\Program Files\Git\usr\bin" "C:\Program Files\Git\usr\notbin"
48
+ run : |
49
+ move "C:\Program Files\Git\usr\bin" "C:\Program Files\Git\usr\notbin"
50
+ move "C:\Program Files\Git\bin" "C:\Program Files\Git\notbin"
49
51
shell : cmd
50
52
51
- - name : (GTK binaries) run gvsbuild
53
+ - name : (GTK binaries) install gvsbuild
52
54
if : steps.cache.outputs.cache-hit != 'true'
53
55
working-directory : gvsbuild
54
- run : python .\build.py build -p=x64 --vs-ver=16 --msys-dir=C:\msys64 gtk3 graphene
56
+ run : python -m pip install .
57
+
58
+ - name : (GTK binaries) run gvsbuild
59
+ if : steps.cache.outputs.cache-hit != 'true'
60
+ run : gvsbuild build --platform=x64 --vs-ver=17 --msys-dir=C:\msys64 gtk3 graphene
55
61
56
62
- name : (GTK binaries) restore git binary
57
63
if : steps.cache.outputs.cache-hit != 'true'
58
- run : move "C:\Program Files\Git\usr\notbin" "C:\Program Files\Git\usr\bin"
64
+ run : |
65
+ move "C:\Program Files\Git\usr\notbin" "C:\Program Files\Git\usr\bin"
66
+ move "C:\Program Files\Git\notbin" "C:\Program Files\Git\bin"
59
67
shell : cmd
60
68
61
69
- name : (GTK binaries) output cache key
64
72
65
73
build :
66
74
name : build gtk-rs on Windows
67
- runs-on : windows-2019
75
+ runs-on : windows-2022
68
76
needs : gvsbuild
69
77
70
78
strategy :
0 commit comments