mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 16:32:18 +01:00 
			
		
		
		
	ci: Explicitly specify Python installation path on Windows
Meson used to try and guess at the Python path. While this worked fine for GLib before, it probably didn’t work 100% for other projects, so Meson have made it an explicit option. Set that option with the Python path used on the Windows CI machines. This fixes a Meson warning with Meson >0.60. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
		| @@ -322,7 +322,10 @@ vs2017-x64: | ||||
|   script: | ||||
|     # FIXME: These should use --wrap-mode=nodownload but the Windows CI machines | ||||
|     # aren’t currently set up for that. | ||||
|     - .gitlab-ci/test-msvc.bat ${MESON_COMMON_OPTIONS} --wrap-mode=default | ||||
|     - .gitlab-ci/test-msvc.bat ${MESON_COMMON_OPTIONS} | ||||
|                                --wrap-mode=default | ||||
|                                --python.platlibdir=C:\Python37\site-packages | ||||
|                                --python.purelibdir=C:\Python37\site-packages | ||||
|   artifacts: | ||||
|     reports: | ||||
|       junit: "_build/${env:CI_JOB_NAME}-report.xml" | ||||
| @@ -347,7 +350,11 @@ vs2017-x64-static: | ||||
|   script: | ||||
|     # FIXME: These should use --wrap-mode=nodownload but the Windows CI machines | ||||
|     # aren’t currently set up for that. | ||||
|     - .gitlab-ci/test-msvc.bat ${MESON_COMMON_OPTIONS} --wrap-mode=default --default-library=static | ||||
|     - .gitlab-ci/test-msvc.bat ${MESON_COMMON_OPTIONS} | ||||
|                                --wrap-mode=default | ||||
|                                --default-library=static | ||||
|                                --python.platlibdir=C:\Python37\site-packages | ||||
|                                --python.purelibdir=C:\Python37\site-packages | ||||
|   artifacts: | ||||
|     reports: | ||||
|       junit: "_build/${env:CI_JOB_NAME}-report.xml" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user