diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2021-04-13 16:54:57 -0700 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2021-04-14 12:08:15 -0700 |
commit | 6482cbc40454e53cbfaf11475549cb15687a5979 (patch) | |
tree | 67aaa5807bd99f2def57949b324aec271eff949d | |
parent | e35d860aa95a6a54d75c0f104164d54660c99757 (diff) |
.gitlab-ci.yml: Save windows build of shader_runner as an artifact for 1 weeksave-ci-shader-runner
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r-- | .gitlab-ci.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7bbb6dbcb..1e7233745 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -145,6 +145,34 @@ build-windows: refs: - dont_trigger +build-windows-shader-runner: + stage: build + extends: + - .use-windows + script: + - cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && + cmake . -D CMAKE_BUILD_TYPE=Release + -D PIGLIT_BUILD_CL_TESTS=off + -D GLUT_INCLUDE_DIR=C:\freeglut\include + -D GLUT_glut_LIBRARY_RELEASE=C:\freeglut\lib\x64\freeglut.lib + -D GLEXT_INCLUDE_DIR=C:\glext\ + -D PIGLIT_BUILD_DMA_BUF_TESTS=off + -D PIGLIT_BUILD_GLES1_TESTS=off + -D PIGLIT_BUILD_GLES2_TESTS=off + -D PIGLIT_BUILD_GLX_TESTS=off + -D PIGLIT_BUILD_GL_TESTS=on + -D PIGLIT_BUILD_WGL_TESTS=off + -GNinja && + ninja bin/shader_runner.exe && + copy bin\shader_runner.exe . && + copy C:\freeglut\bin\x64\freeglut.dll ." + artifacts: + name: "windows-shader-runner" + paths: + - "shader_runner.exe" + - "freeglut.dll" + expire_in: 1 week + py.test: stage: build extends: |