docs/releasing: Use the GitLab CI as the test procedure
The GitLab CI is much more useful than trying to hand test. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39011>
This commit is contained in:
parent
a5dce21782
commit
00aa3bdb1d
1 changed files with 11 additions and 39 deletions
|
|
@ -245,49 +245,21 @@ Get latest source files
|
|||
Ensure the latest code is available - both in your local main and the
|
||||
relevant branch.
|
||||
|
||||
Perform basic testing
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Most of the testing should already be done during the
|
||||
:ref:`cherry-pick <pickntest>` So we do a quick 'touch test'
|
||||
Merge the staging branch into the release branch
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- meson dist
|
||||
- the produced binaries work
|
||||
This allows the CI to be run against the proposed patches while they are still
|
||||
on the ``staging/X.Y`` branch, and can be force pushed.
|
||||
|
||||
Here is one solution:
|
||||
Create a new Merge Request, with ``staging/X.Y`` targeting the ``X.Y`` branch.
|
||||
Be sure to rename the merge request, something like ``merge staging/X.Y in to
|
||||
X.Y for the X.Y.Z release``. Ensure that ``delete source branch`` is **not**
|
||||
checked, and set the label to ``release-maintainer`` and ``mesa-release``.
|
||||
(this prevents the autotagger from running on this MR, which would otherwise
|
||||
spam labels with a PR that watches of those labels probably don't care about).
|
||||
Assign to ``@marge-bot`` immediately.
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
__glxgears_cmd='glxgears 2>&1 | grep -v "configuration file"'
|
||||
__es2info_cmd='es2_info 2>&1 | egrep "GL_VERSION|GL_RENDERER|.*dri\.so"'
|
||||
__es2gears_cmd='es2gears_x11 2>&1 | grep -v "configuration file"'
|
||||
test "x$LD_LIBRARY_PATH" != 'x' && __old_ld="$LD_LIBRARY_PATH"
|
||||
export LD_LIBRARY_PATH=`pwd`/test/usr/local/lib/:"${__old_ld}"
|
||||
export LIBGL_DEBUG=verbose
|
||||
eval $__glxinfo_cmd
|
||||
eval $__glxgears_cmd
|
||||
eval $__es2info_cmd
|
||||
eval $__es2gears_cmd
|
||||
export LIBGL_ALWAYS_SOFTWARE=true
|
||||
eval $__glxinfo_cmd
|
||||
eval $__glxgears_cmd
|
||||
eval $__es2info_cmd
|
||||
eval $__es2gears_cmd
|
||||
export LIBGL_ALWAYS_SOFTWARE=true
|
||||
export GALLIUM_DRIVER=softpipe
|
||||
eval $__glxinfo_cmd
|
||||
eval $__glxgears_cmd
|
||||
eval $__es2info_cmd
|
||||
eval $__es2gears_cmd
|
||||
# Smoke test DOTA2
|
||||
unset LD_LIBRARY_PATH
|
||||
test "x$__old_ld" != 'x' && export LD_LIBRARY_PATH="$__old_ld" && unset __old_ld
|
||||
unset LIBGL_DEBUG
|
||||
unset LIBGL_ALWAYS_SOFTWARE
|
||||
unset GALLIUM_DRIVER
|
||||
export VK_DRIVER_FILES=`pwd`/test/usr/local/share/vulkan/icd.d/intel_icd.x86_64.json
|
||||
steam steam://rungameid/570 -vconsole -vulkan
|
||||
unset VK_DRIVER_FILES
|
||||
|
||||
Create release notes for the new release
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue