Boris Brezillon
c81016f53c
ci/dzn: Copy testlog.{css,xsl} to the result dir
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17235 >
2022-06-24 18:15:16 +00:00
Boris Brezillon
1987fb0091
ci/dzn: Move to a .toml description
...
This way we don't force a CI run on all platforms anytime we add a
group of test, and, as a bonus, we make dozen CI consistent with other
platforms.
Suggested-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Suggested-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17074 >
2022-06-20 14:48:51 +00:00
Yonggang Luo
d39553da10
ci/vs2019: Upgrade Windows 10 SDK version to 20348
...
This comes with stdalign.h for more C11 conformance
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17044 >
2022-06-16 21:49:54 +00:00
Boris Brezillon
db2d264989
dzn: Enable support for geometry shaders
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17039 >
2022-06-15 22:04:01 +00:00
Boris Brezillon
dd78dc25e7
ci/windows: Add dEQP-VK.dynamic_state.* to the test list
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16971 >
2022-06-15 00:10:42 +00:00
Boris Brezillon
672447be7f
ci/windows: Allow skipping deqp tests if we have to
...
Useful to skip tests that are known to crash.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16971 >
2022-06-15 00:10:42 +00:00
Yonggang Luo
e3a7ccba57
ci/vs2019: Convert mesa_build.ps1 to using PowerShell 7 && operator
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:34 +00:00
Yonggang Luo
97e7f6d068
ci/vs2019: Split install of vs2019 and choco into separate Docker image
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:34 +00:00
Yonggang Luo
cfa67ec750
ci/vs2019: Split choco install output
...
Compiling code should be done in docker containers using --isolation=process for efficiency,
but installing dependencies will fail when run that way. Split the "install" dependencies from
the "build" dependencies, so the former can be run in a container using --isolation=hyperv,
and the latter can use --isolation=process.
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:34 +00:00
Yonggang Luo
322c807b3c
ci/vs2019: Install all build artifacts into C:\mesa-deps
...
By building everything under `deps` directory, remove the `deps` after
them installed.
We can use spirv-as from Vulkan-SDK, so that test won't depends on mesa-deps
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:34 +00:00
Yonggang Luo
9ceb170cb1
ci/vs2019: ignore _build and _install directory by write * into .gitignore
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
33e5b08a7d
ci/vs2019: Reduce the vs2019 build tools components to be installed
...
NOTE:
Microsoft.VisualStudio.Component.Windows10SDK.19041 are part of
Microsoft.VisualStudio.Workload.NativeDesktop, so it's actually using Windows10SDK.19041 before,
not Windows10SDK.18362
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
6d23d87325
ci/vs2019: Show the total vs2019 install time
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
d960151dc2
ci/vs2019: Split call to C:\vs_buildtools.exe into multiple lines
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
a740b8430a
ci/vs2019: Add a dedicated script for entering VS dev shell
...
Then we can remove cmd.exe invocations, and spread those configure commands
over multiple lines since they're not strings anymore.
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
24e177aff2
ci/vs2019: Use shared VULKAN_SDK_VERSION for install and build vulkan related packages
...
Get `Vulkan-SDK` `Vulkan-Runtime` `SPIRV-Tools` and `SPIRV-Headers` to be consistence version
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
918dbc1fa8
ci/vs2019: Disable progess bar for pip3 install
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
e301f31116
ci/vs2019: Disable progress when install python
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
86d6e532b3
ci/vs2019: Ignore error when removing directory recursively
...
While we're at it, do the same thing when creating the llvm-project directory
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
5baaa3b361
ci/vs2019: Ignore cert install output, it's too long
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
5608834068
ci/vs2019: Do not install subprojects
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
d1e7e58807
ci/vs2019: Rename to vsInstallPath
...
installPath is too generic
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
0511f0eb8a
ci/vs2019: Give each option its own line in mesa_build.ps1
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
66eec65c5b
ci/vs2019: switch to powershell 7
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Yonggang Luo
6445379f04
ci/vs2019: There is no meaning to set $env:ErrorActionPreference
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934 >
2022-06-14 21:14:33 +00:00
Louis-Francis Ratté-Boulianne
1a89e358d6
dzn: Enable dEQP-VK.pipeline.vertex_input.* test cases
...
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15955 >
2022-06-14 17:42:51 +00:00
Erik Faye-Lund
cbcdcc412c
dzn: enable binding_model tests
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16904 >
2022-06-10 22:14:14 +00:00
Erik Faye-Lund
003d052810
ci/windows: add back build-error detection
...
This was accidentally broken while refactoring the script.
Fixes: bf3c772e5e
("ci: Improve vs2019 mesa_build.ps1 for remove the need of cmd.exe")
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16965 >
2022-06-10 12:36:59 +00:00
Boris Brezillon
447d448513
ci/windows: Bump spirv-samples commit-ID
...
We need the fix adding a Block decoration to the BuiltIn struct in
SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position_Initializer.spvasm.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16221 >
2022-06-08 15:17:05 +00:00
Yonggang Luo
2deee5ddb3
ci/vs2019: Clear CI_COMMIT_MESSAGE and CI_COMMIT_DESCRIPTION for please meson
...
Fixes https://gitlab.freedesktop.org/lygstate/mesa/-/jobs/23444155/raw
https://gist.github.com/lygstate/201dd9d2db3d411668f7bbdc17daf74a
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16825 >
2022-06-02 18:54:50 +00:00
Jesse Natalie
7f81333f71
CI: Re-enable Windows builds
...
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16756 >
2022-05-31 18:32:59 +00:00
Jesse Natalie
cb2cc69ebb
dzn: Update fails/flakes
...
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16756 >
2022-05-31 18:32:59 +00:00
Jesse Natalie
b819f80d87
CI/windows: Move --fraction for deqp-runner to run command line
...
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16756 >
2022-05-31 18:32:59 +00:00
Jesse Natalie
ad96c3079f
CI/windows: Disable LLVM CMake developer warnings to shrink log size
...
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16756 >
2022-05-31 18:32:59 +00:00
Jesse Natalie
4a51a81217
CI/windows: Disable chocolatey progress printing to shrink log size
...
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16756 >
2022-05-31 18:32:59 +00:00
Jesse Natalie
f6d3625d4a
CI/windows: Delete comment for installing vulkan-runtime
...
Since we're now actually running Vulkan tests on Dozen, the comment
was wrong and we actually want the runtime. The referenced issue
has been fixed anyway.
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16756 >
2022-05-31 18:32:59 +00:00
Jesse Natalie
a1951b2d0b
CI/windows: Install Vulkan SDK from LunarG directly isntead of Chocolatey
...
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16756 >
2022-05-31 18:32:59 +00:00
Emma Anholt
cfbdbbfcab
ci/dzn: Cut the runtime by running 1/3 of the enabled tests.
...
Marge jobs are failing at their 1 hour timeout regularly because windows
CI lacks capacity. In the job I looked at, this test took 18 minutes,
which is surely contributing to the load. Cut it down to get us some hope
of getting MRs through that run windows jobs.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16062 >
2022-04-20 22:54:31 +00:00
Daniel Stone
5f09ee77a1
dzn/ci: Don't spam conformance warnings
...
We know it's not conformant and that's OK.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16031 >
2022-04-20 14:52:40 +00:00
Louis-Francis Ratté-Boulianne
3017522e74
dzn: Add CI target for vulkan driver
...
A custom branch of `deqp` is used to have proper results when
crashing. See:
https://github.com/KhronosGroup/VK-GL-CTS/issues/311
A custom branch of `deqp-runner` with Windows support is also
used until the changes are merged into the main repository.
The `api`, `info`, `draw`, `query-pool` and `memory` test cases are
executed for now.
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com >
Acked-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15742 >
2022-04-13 18:05:44 +00:00
Erik Faye-Lund
c42da6dd60
ci: do not specify c_std and cpp_std for windows-build
...
When parts of the tree needs later c and c++ versions, they should ask
for it in the build-system itself, not expect the user to ask for it on
the command-line instead. So let's not paper over things by specifying
them here.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15706 >
2022-04-05 16:58:56 +00:00
Yonggang Luo
bf3c772e5e
ci: Improve vs2019 mesa_build.ps1 for remove the need of cmd.exe
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15595 >
2022-03-31 09:16:27 +00:00
Boris Brezillon
a3bdad314e
dzn: Compile-test the driver
...
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14766 >
2022-03-25 16:21:45 +00:00
Jesse Natalie
413f398cff
ci/windows: Use 2 container stages
...
The first container stage ("build") is for dependencies of the build.
These are infrequently-changing things like Visual Studio, LLVM, git,
and also meson. The second container stage ("test") currently depends
on the first, and adds test dependencies like piglit.
This lets us rev piglit without having to rebuild LLVM.
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14637 >
2022-01-21 22:38:16 +00:00
Marcin Ślusarz
745af88783
ci/windows: normalize line endings
...
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11779 >
2022-01-19 15:17:17 +00:00
Caio Oliveira
3415b51b1c
ci/windows: Remove line numbers of SPIR-V errors in spirv2dxil tests
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14245 >
2021-12-17 23:04:55 +00:00
Jesse Natalie
46ef1e8389
ci/windows: Remove line numbers from assertions in spirv2dxil tests
...
Reviewed-by: Enrico Galli <enrico.galli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14156 >
2021-12-11 03:43:11 +00:00
Jesse Natalie
7afb4aba3f
CI/windows: Move reference files to relevant ci subdirectories
...
Reviewed-by: Enrico Galli <enrico.galli@intel.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13902 >
2021-12-01 18:26:15 +00:00
Marcin Ślusarz
4f58cc82e2
spirv: handle SpvOpMemberName
...
Now we can see field names in structs instead of generic
"fieldN" with NIR_PRINT=1.
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13941 >
2021-12-01 08:56:29 +00:00
Jesse Natalie
1e3db7923f
CI/windows: Uprev piglit
...
Acked-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13893 >
2021-11-20 20:30:59 +00:00