mirror of https://github.com/GNOME/gimp.git
gitlab-ci, build: add a wrapper for GIMP binary to Win32 CI result.
A few commands need to be performed the first time for glib to work properly, and gdk-pixbuf loaders to be found. I add them in a wrapper script so that it's easy to ask people to test the dev builds (even though it's not necessary to run these commands each time, but who cares!).
This commit is contained in:
parent
6f6358bef6
commit
7fdd78c6ea
|
@ -185,7 +185,7 @@ deps-x86_64-w64-mingw32:
|
||||||
- gdk-pixbuf-query-loaders-64 > /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
- gdk-pixbuf-query-loaders-64 > /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||||
script:
|
script:
|
||||||
- export PATH="`pwd`/.local/bin:$PATH"
|
- export PATH="`pwd`/.local/bin:$PATH"
|
||||||
- crossroad w64 gimp --run="build/windows/crossbuild-gitlab-ci.sh"
|
- crossroad w64 gimp --run="build/windows/crossbuild-gitlab-ci/build-deps.sh"
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
when: always
|
when: always
|
||||||
|
@ -238,7 +238,9 @@ gimp-x86_64-w64-mingw32-meson:
|
||||||
-Dwmf=disabled -Dgtk-doc=false
|
-Dwmf=disabled -Dgtk-doc=false
|
||||||
-Dpython=always -Dlua=always
|
-Dpython=always -Dlua=always
|
||||||
-Djavascript=always -Dbuildtype=debugoptimized &&
|
-Djavascript=always -Dbuildtype=debugoptimized &&
|
||||||
ninja install' |
|
ninja install &&
|
||||||
|
cp ../build/windows/crossbuild-gitlab-ci/gimp-wrapper.cmd $CROSSROAD_PREFIX/bin/
|
||||||
|
' |
|
||||||
crossroad w64 gimp --run="-"
|
crossroad w64 gimp --run="-"
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
glib-compile-schemas.exe ..\share\glib-2.0\schemas
|
||||||
|
gdk-pixbuf-query-loaders.exe --update-cache
|
||||||
|
gimp-2.99.exe
|
Loading…
Reference in New Issue