Jesse Natalie
31d722b706
CI/Windows: Use deqp-runner for D3D12 piglit
...
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20454 >
2023-01-03 17:43:30 +00:00
Jesse Natalie
65e4b440c9
ci/windows: Update build container image with all deps so wraps can be disabled
...
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18287 >
2022-10-19 07:02:14 +00:00
Sil Vilerino
2d504bc5a0
CI: Add gallium-va and video-codecs in windows-vs2019 and debian-mingw32-x86_64
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19063 >
2022-10-19 00:45:48 +00:00
Yonggang Luo
79891bea1c
ci/windows: Remove -Dlibelf:warning_level=1 as libelf subproject are already removed
...
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/19096 >
2022-10-17 00:28:32 +08:00
Yonggang Luo
2cb21fdd53
ci/windows: Enable gles1 for msvc
...
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/19096 >
2022-10-17 00:28:29 +08:00
Yonggang Luo
c74595ead3
radv/r600/clover: Getting libelf to be optional
...
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/18503 >
2022-09-22 05:07:35 +00:00
Eric Engestrom
155c8bc964
ci: add --print-errorlogs
to meson test
...
In order to avoid having to dig through artifacts to see what failed.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17804 >
2022-07-29 12:06:13 +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
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
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
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
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
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
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
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
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
Enrico Galli
13ee05f2b4
ci/windows: Add validation tests for spriv_to_dxil
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13655 >
2021-11-09 01:32:47 +00:00
Emma Anholt
cdc009f5aa
Revert "ci: Add osmesa to Windows GitLab CI"
...
This reverts commit 90faabc0ee
. It has been
flaky and producing timeouts. (See
https://gitlab.freedesktop.org/mesa/mesa/-/jobs/14634204 for an example)
Acked-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13318 >
2021-10-13 15:01:52 +00:00
Jesse Natalie
107c200537
CI/windows: Build shared-glapi, EGL, gles2
...
Acked-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Emil Velikov <emil.velikov@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12881 >
2021-09-16 17:38:58 +00:00
pal1000
90faabc0ee
ci: Add osmesa to Windows GitLab CI
...
osmesa CI coverage on Windows was lost when Windows CI with
Meson build was migrated from AppVeyor to GitLab CI
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8672 >
2021-09-07 20:39:02 +00:00
Jesse Natalie
43c4f5eb63
ci/windows: Build spirv-to-dxil
...
Reviewed-by: Enrico Galli <enrico.galli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12728 >
2021-09-04 19:47:54 -07:00
Erik Faye-Lund
a426d7c264
ci/windows: enable msvc builds of zink
...
This depends on both the Vulkan SDK and the Vulkan Runtime, so let's
install those first.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11424 >
2021-06-24 17:51:48 +00:00
Erik Faye-Lund
b437fb810a
ci/windows: work around meson encoding issues
...
It turns out, some combinations of Meson and MSVC doesn't handle UTF-8
symbols in source-files as gracefully as we'd like. Luckily, there's a
work-around; forcing UTF-8 as the default-encoding.
Please see this Meson ticket for details:
https://github.com/mesonbuild/meson/issues/8263
Cc: mesa-stable
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11424 >
2021-06-24 17:51:47 +00:00
James Park
d18563ea58
ci: Update Windows image to build RADV
...
Add AMDGPU to LLVM_TARGETS_TO_BUILD.
Remove explicit CMAKE_CXX_COMPILER from libclc to dodge regression from
newer CMake. The potential range seems like (3.19.7, 3.20.1].
Add -Dc_std=c17 to support static_assert.
Add -Dcpp_std=vc++latest to support designated initializers.
Add -Dvulkan-drivers=amd for RADV.
Add -Dlibelf:warning_level=1 because of warnings as error.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6162 >
2021-04-23 10:37:22 +00:00
Jesse Natalie
1d144f7f58
CI: Windows: Bump warning level to W3 (except for zlib)
...
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Reviewed-By: Bill Kristiansen <billkris@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331 >
2021-04-20 00:28:35 +00:00
Jesse Natalie
eae264918c
CI: Enable -werror for Windows
...
Acked-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10157 >
2021-04-12 19:12:40 +00:00
Michel Dänzer
fc0d1aab50
Revert "ci: disable glcpp tests for now"
...
This reverts commit e25a3e21f8
.
The test timeouts should be fixed now.
Reviewed-by: Dylan Baker <dylan.c.baker@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9528 >
2021-03-19 08:50:38 +00:00
Dave Airlie
5d4a035c1c
ci: try building lavapipe on windows
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9121 >
2021-02-26 04:29:52 +10:00
Mike Blumenkrantz
e25a3e21f8
ci: disable glcpp tests for now
...
these are too flaky to continue running for now
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8738 >
2021-01-28 15:52:32 +00:00
Michel Dänzer
b83d0b2f5d
ci: Use meson test directly instead of ninja test
...
The former allows specifying how many processes to spawn for tests. The
latter seems to spawn (up to) as many test processes as there are CPU
cores.
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8451 >
2021-01-14 08:22:30 +00:00
Erik Faye-Lund
9eea521391
gitlab-ci: copy piglit expected results to artifacts
...
I somehow missed this while reworking the CI bits to reduce bandwidth
usage. This emits an error on stdout, but doesn't actually fail the
tests.
Fixes: 195a001d73
("gitlab-ci: do not clone git-repo for test-job")
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8052 >
2020-12-11 11:02:37 +00:00
Erik Faye-Lund
195a001d73
gitlab-ci: do not clone git-repo for test-job
...
The only thing we really need from the git-repo is the piglit_run.ps1
script, so let's upload that into our artifacts instead.
Fixes: d560addc30
("gitlab-ci: run piglit on windows")
Acked-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7867 >
2020-12-02 12:02:21 +00:00
Erik Faye-Lund
04e3693e6d
gitlab-ci: build zlib statically on windows
...
This avoids having to copy the DLL around when testing.
Reviewed-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7857 >
2020-12-02 10:04:43 +01:00
Erik Faye-Lund
eaab92cc61
gitlab-ci: store build-artifacts from building mesa
...
GitLab CI doesn't allow us to store artifacts from outside the
build-directory, so let's create an install-directory and install there
instead.
To do this properly, we need to expand a variable inside the
command-line, so we need to change to a double-quoted string.
Reviewed-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7857 >
2020-12-02 10:04:39 +01:00
Daniel Stone
f6bb5e29b1
CI: Build d3d12 Gallium driver and CLC framework on MSVC
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7537 >
2020-11-27 11:22:07 +00:00
Daniel Stone
484fe1e9f2
CI: Update Windows build for current Meson options
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7537 >
2020-11-27 11:22:07 +00:00
Daniel Stone
187c146a2e
CI: Windows: Use 32 vCPUs for Mesa build
...
The physical machine has 64, and the bottleneck is mostly I/O and
network, so let's just go ahead and smash the CPUs to bits.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7537 >
2020-11-27 11:22:07 +00:00
Daniel Stone
e3e1e9f82c
CI: Correct build-directory path on Windows, and keep it
...
Build job artifacts capture Meson logs from _build, so we can analyse
what Meson did during configuration, as well as the full output of any
test jobs.
We were previously calling our build directory 'build', which meant it
wouldn't have been captured by the artifacts, and we were also deleting
it to make really sure there was no chance of logs getting captured
either.
Rename the build directory to '_build' to match the others, and don't
delete it either, so we can keep our configure/test logs.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5689 >
2020-06-30 10:34:02 +01:00
Daniel Stone
ee056dfef6
CI: Try shared libraries on Windows
...
This might make linking a bit less prone to OOM when trying to pull in
LLVM.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5689 >
2020-06-30 10:33:59 +01:00
Daniel Stone
97b4b1254e
CI: Enable assertions on Windows
...
Getting assertion failures is helpful to have, even if we are doing a
release build.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5689 >
2020-06-30 10:33:38 +01:00
Daniel Stone
0f46a3191f
CI: Windows: Build LLVM and llvmpipe
...
We will eventually need to build our own LLVM on Windows in order to
build libclc and other bits which are required for the d3d12 build, as
well as to be able to test SPIR-V/OpenCL on llvmpipe.
Start doing this now, building into the base container, and exercise
this by building llvmpipe under Windows.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Jose Fonseca <jfonseca@vmware.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4946 >
2020-05-14 06:40:54 +00:00
Daniel Stone
07885cbcdb
CI: Add native Windows VS2019 build
...
Adds a native build of Mesa using Meson with the Visual Studio 2019
toolchain on a Windows host.
Though Docker is supported on Windows, Docker-in-Docker is not possible,
nor are podman and skopeo available. We handle this by creating the
container from a shell-executor Windows machine, which gives us a native
PowerShell that we can execute Docker from. This attempts to do the same
copy-from-upstream-or-create-if-not-exists optimisation as the
ci-templates do for our Linux builds, albeit open-coded in PowerShell.
The Mesa build itself is executed inside a container, using Meson and
Ninja.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Acked-by: Jose Fonseca <jfonseca@vmware.com >
Acked-by: Brian Paul <brianp@vmware.com >
Acked-by: Eric Engestrom <eric@engestrom.ch >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4304 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4304 >
2020-03-27 10:32:47 +00:00