summaryrefslogtreecommitdiff
path: root/.gitlab-ci/build
Commit message (Collapse)AuthorAgeFilesLines
* meson/ci: promote virtio-experimental to virtioYiwei Zhang2023-05-031-6/+6
| | | | | Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22547>
* ci: Enable rusticl in the fedora-release jobMichel Dänzer2023-05-011-1/+1
| | | | | | | v2: * Drop superfluous -D rust_std=2021 (Eric Engestrom) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718>
* ci: Upgrade fedora-release job to Fedora 38Michel Dänzer2023-05-011-0/+3
| | | | | | | Need to add -Wno-error=dangling-reference -Wno-error=overloaded-virtual for C++ for now. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718>
* ci: Drop -Wno-error=array-bounds from fedora-release jobMichel Dänzer2023-05-011-2/+0
| | | | | | No warnings left. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718>
* ci: Drop executable permissions from backend compiler wrapper scriptMichel Dänzer2023-04-151-0/+0
| | | | | | | Not needed anymore, since the frontend scripts just source the backend script now. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438>
* ci: Remove shebang from backend compiler wrapper scriptMichel Dänzer2023-04-151-2/+0
| | | | | | | Not needed anymore, since the frontend scripts just source the backend script now. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438>
* ci: Use set -e in frontend compiler wrapper scripts.Michel Dänzer2023-04-154-0/+12
| | | | | | | | | | | | | I doubt the shebang line in the backend script has any effect now, since the frontend scripts just source it directly. v2: * Use "set -e" instead of adding -e to shebang (Eric Engestrom) v3: * Apply to the clang wrapper scripts as well (Eric Engestrom) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438>
* ci: Explicitly test for meson feature checks in compiler wrapperMichel Dänzer2023-04-151-2/+2
| | | | | | | | | | | The previous indirect method was more complicated and still error prone. v2: * Use "grep -E" (Eric Engestrom) * Exclude spaces and slashes in the grep pattern, to avoid accidentally matching across unrelated compiler arguments. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438>
* ci: deduplicate compiler wrappersEric Engestrom2023-03-228-66/+15
| | | | | | | Signed-off-by: Eric Engestrom <eric@igalia.com> Suggested-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21997>
* ci: always use the -Werror wrapperEric Engestrom2023-03-222-7/+2
| | | | | | Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21997>
* ci: add linker wrapper for clangEric Engestrom2023-03-222-0/+42
| | | | | | Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21997>
* ci: centralize detection of ccache in link-werror wrapperEric Engestrom2023-03-226-40/+19
| | | | | | Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21997>
* ci: Enable LTO for fedora-release jobMichel Dänzer2023-03-171-2/+9
| | | | | | | | | | | | | Requires -Wno-error=... to be passed to the linking stage. NOTE: This does not imply that it's safe to enable LTO for Fedora package builds yet. It just helps prevent moving further away from that long term goal. v2: * Keep passing -Wno-error=array-bounds & -Wno-error=stringop-overread. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
* ci: Make ccache optionalMichel Dänzer2023-03-175-7/+42
| | | | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
* ci: Pass -Werror to compiler linking stage for LTOMichel Dänzer2023-03-174-1/+35
| | | | | | | | | | | | | | | With LTO, some compiler warnings are generated only at the compiler's linking stage. Therefore -Werror needs to be passed to the linking stage as well for warnings to be turned into errors. Meson should really do this when both werror and b_lto are enabled, but meanwhile let's do it ourselves. We can't just add -Werror to c{,pp}_link_args, because those are passed for Meson's feature checks, some of which generate warnings, resulting in false negatives. We use gcc/g++ wrapper scripts instead. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
* ci: Split up -Werror workarounds for debian-mingw32-x86_64 jobMichel Dänzer2023-03-171-2/+3
| | | | | | Most of them are only needed for C++ code, one of them only for C. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
* ci: Remove some -Werror workarounds for debian-android jobMichel Dänzer2023-03-171-6/+0
| | | | | | No more corresponding warnings. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
* ci/clover: disable the jobsDavid Heidelberg2023-03-121-2/+4
| | | | | | | | | | Prepare for Clover removal; don't waste resources on Clover anymore. Acked-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21865>
* CI: Disable mingw jobDaniel Stone2023-03-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | mingw just hangs somewhere in Meson, with a totally unclear cause, when trying to run winepath: Program winepath found: YES (/usr/bin/winepath) Running command: /usr/bin/winepath -w /builds/mesa/mesa/_build/src/util/process_test.exe [... hangs forever ...] root 27 0.0 0.0 4044 3232 ? S 17:10 0:00 bash .gitlab-ci/meson/build.sh root 35 0.0 0.0 2811920 55800 ? Sl 17:10 0:00 Xvfb :0 -screen 0 1024x768x16 root 40 0.1 0.0 45484 40740 ? S 17:10 0:00 /usr/bin/python3 /usr/local/bin/meson setup _build --native-file=native.file --wrap-mode=nofallback --force-fallback-for perfetto -D prefix=/builds/mesa/mesa/install -D libdir=lib -D buildtype=debug -D build-tests=true -D c_args=-Wno-error=format -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=sign-compare -Wno-error=narrowing -D cpp_args=-Wno-error=format -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=sign-compare -Wno-error=narrowing -D enable-glcpp-tests=false -D libunwind=disabled -D gallium-opencl=icd -D gallium-rusticl=false -D opencl-spirv=true -D microsoft-clc=enabled -D static-libclc=all -D llvm=enabled -D gallium-va=enabled -D video-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec -D gallium-drivers=swrast,d3d12,zink -D vulkan-drivers=swrast,amd,microsoft-experimental -D video-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec -D werror=true -D min-windows-version=7 -D spirv-to-dxil=true -D gles1=enabled -D gles2=enabled -D osmesa=true -D cpp_rtti=true -D shared-glapi=enabled -D zlib=enabled --cross-file=.gitlab-ci/x86_64-w64-mingw32 root 1366 0.0 0.0 0 0 ? Z 17:10 0:00 [winepath.exe] <defunct> root 1375 0.0 0.0 8544 7188 ? Ss 17:10 0:00 /usr/lib/wine/wineserver64 -p0 root 1381 0.0 0.0 2018764 11080 ? Ssl 17:10 0:00 C:\windows\system32\services.exe root 1384 0.0 0.0 1821312 10044 ? Sl 17:10 0:00 C:\windows\system32\plugplay.exe root 1386 0.0 0.0 1856096 23016 ? Sl 17:10 0:00 C:\windows\system32\explorer.exe /desktop root 1393 0.0 0.0 1822712 11000 ? Sl 17:10 0:00 C:\windows\system32\winedevice.exe root 1402 0.0 0.0 1778832 21456 ? S 17:10 0:00 winedbg --auto 26 80 root 1405 0.0 0.0 1891516 12192 ? Sl 17:11 0:00 C:\windows\system32\winedevice.exe Disable it until we can figure it out. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21864>
* ci: build Wayland support for the amd64David Heidelberg2023-03-121-1/+1
| | | | | Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21786>
* ci: Fix release build use for performance jobsGuilherme Gallo2023-03-101-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit ensures that we are using mesa release builds in performance jobs. To achieve that, some modifications were made on top of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21492. - Append the `BUILDTYPE` variable into the S3 artifact name (MINIO_ARTIFACT_NAME environment variable) to allow for better artifact management. - The ./artifacts directory has been added to the list of artifact directories for build-common. This ensures that the debian-release and debian-arm64-release jobs are the only ones necessary for running performance jobs. These jobs only produce artifacts via prepare-artifacts.sh when we are under performance workflow. - Make lava-submit.sh behave similar to baremetal jobs regarding MINIO_ARTIFACT_NAME variable. For example, users can now easily differentiate between mesa-arm64.tar.zstd and mesa-arm64-release.tar.zstd by looking inside the `Downloading artifacts from s3` Gitlab section. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21804>
* ci: implement unified sectionsDavid Heidelberg2023-03-011-14/+18
| | | | | | | | in after_script, variable $SCRIPTS_DIR is lost Acked-by: Daniel Stone <daniels@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20272>
* ci: Use workflow to make CI aware of performance jobsGuilherme Gallo2023-02-281-1/+4
| | | | | | | | | | | | | | | With the workflow keyword, we can have more control over how pipelines are created. One of the features is to set a variable for the entire pipeline depending on the rule. These variables would be available for all jobs manifest and can be used inside job rules, for example. We can use that to set a variable to enable performance jobs in the pipeline, both at the YAML and script levels. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21492>
* ci: Create debian-arm64-release jobGuilherme Gallo2023-02-281-0/+9
| | | | | | | | To be able to upload the mesa's release build for arm64 to S3 and use it in performance jobs. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21492>
* ci: Upload debian-release artifact to S3Guilherme Gallo2023-02-281-0/+2
| | | | | | | | | | | This will enable performance jobs to use release versions for performance tracking, since they download the artifacts from S3. We were using debugoptimized versions, which are not the most performant ones. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21492>
* ci: Add a manual full and 1/10th hasvk CTS runs.Emma Anholt2023-02-161-1/+1
| | | | | | | | | These are manual since they're on a runner in my basement that sometimes can go down, but it'll be nice to have this for throwing the rare hasvk MR at. Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21228>
* ci: Enable the hasvk Vulkan driver in the fedora-release jobMichel Dänzer2023-02-141-1/+1
| | | | | | | | To match the Fedora packaging. While at it, sort the Vulkan drivers alphabetically. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21236>
* ci: Enable i915 Gallium driver in fedora-release jobMichel Dänzer2023-02-141-1/+1
| | | | | | To match the Fedora packaging. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21236>
* ci: Re-enable intel-clc in fedora-release jobMichel Dänzer2023-02-141-2/+1
| | | | | | Fedora 36 has new enough llvm-spirv-translator. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21236>
* ci/mingw: drop useless -Wno-error flagsMichel Zou2023-02-131-7/+0
| | | | | | | | Will prevent merging incorrect code like in #8260 Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21244>
* meson: turn android-libbacktrace into a feature optionEric Engestrom2023-02-011-1/+1
| | | | | | Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20915>
* ci: export artifacts from debian-androidHelen Koike2023-01-251-0/+4
| | | | | | | | | | export mesa build from this job, so it can be picked up by an android testing job. Co-developed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019>
* ci: debian-android compile virglHelen Koike2023-01-251-1/+1
| | | | | | | | compile virgl so we can test android on a vm. Signed-off-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019>
* ci: Use NDK 25b to build for the Android ABI level 33Tomeu Vizoso2023-01-251-1/+12
| | | | | | | | | | | 25b is the currently supported NDK, as per the below: https://github.com/android/ndk/wiki Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019>
* ci: Build for Android with libbacktrace=falseTomeu Vizoso2023-01-251-0/+1
| | | | | | | | | | | This is needed for using this build inside Android systems with VNDK enabled, as in recent versions of it libbacktrace isn't available to libraries in /vendor. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019>
* ci/debian-android: move pkgconfig paths to the cross fileHelen Koike2023-01-251-2/+2
| | | | | | | | | | | | Move pkgconfig paths out of the job script into the cross file. Use pkg_config_libdir on the cross file instead. Which makes more sense and cleaner code. Suggested-by: David Heidelberg <david.heidelberg@collabora.com> Suggested-by: Roman Stratiienko <r.stratiienko@gmail.com> Signed-off-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019>
* meson: use a feature option for valgrindDylan Baker2023-01-191-8/+8
| | | | | | Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20409>
* meson: use a feature option for gallium-vaDylan Baker2023-01-191-1/+1
| | | | | | Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20409>
* ci: Enable building the testing drivers with perfetto.Emma Anholt2023-01-181-0/+2
| | | | | | | | | | | We've talked about being able to capture perfetto traces from CI jobs for a while, and this would be a step toward that. Mostly it's that we occasionally break the perfetto build, so let's make sure we don't do that. Acked-by: Rob Clark <robdclark@chromium.org> Acked-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20660>
* Revert "ci: build hasvk if we're building anv"Lionel Landwerlin2023-01-161-7/+7
| | | | | | | | This reverts commit b4d3d11e43546a92a82c66a47e3bda0e6a6822cf. We're seeing problems on the builders running the hasvk tests. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20726>
* ci: build hasvk if we're building anvAdam Jackson2023-01-121-7/+7
| | | | | | | !19355 should never have happened, but we didn't bother to add build coverage for hasvk when we split it out from anv. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19356>
* ci: debian-build-testing, build only the LTO variantDavid Heidelberg2023-01-111-1/+1
| | | | | | | | | | The chance we'll miss anything from non-LTO is minimal, and having both builds in one is too slow (usually the latest job to finish). Acked-by: Martin Roukala <martin.roukala@mupuf.org> Acked-by: Eric Engestrom <eric@igalia.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20623>
* ci: enable wayland platform in more debian buildsErico Nunes2023-01-061-1/+1
| | | | | | | | | | | | | CI has recently gained coverage of wayland platform in EGL tests, but some CI mesa builds such as arm builds currently don't enable the wayland platform. Enable it so test applications can properly initialize EGL with a wayland platform. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20480>
* ci: build test LTODavid Heidelberg2023-01-031-0/+1
| | | | | | | Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20374>
* ci: restore reliable Alpine 3.16David Heidelberg2022-12-161-1/+1
| | | | | | | Alpine 3.17 suffered random freezes. Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20294>
* ci/bare-metal: Avoid a bug in armhf stripping causing tempfiles in artifacts.Emma Anholt2022-12-141-0/+3
| | | | | | | We're failing to strip, so at least try not to leave a million tempfiles around. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20302>
* ci/alpine: disable the job, still occasionally flakesDavid Heidelberg2022-12-011-1/+1
| | | | | | | See: https://gitlab.freedesktop.org/mesa/mesa/-/jobs/32689466 Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20076>
* ci/alpine: rename job to alpine-build-testingDavid Heidelberg2022-11-171-1/+1
| | | | | | | | | | Better describes what the job does. @thx to MrCooper for suggestion. Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19789>
* ci/build: bump LLVM to 13 for debian-build-testingDavid Heidelberg2022-11-161-0/+1
| | | | | | | Acked-by: Pavel Ondračka <pavel.ondracka@gmail.com> Reviewed-by: Emma Anholt <emma@anholt.net> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19692>
* ci: Drop a couple of -Werror exceptions from fedora-release jobMichel Dänzer2022-11-161-3/+0
| | | | | | No corresponding warnings left. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19744>