mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-26 17:37:34 +00:00
ci: Update instructions to use pipx
This commit is contained in:
parent
0e892cc04d
commit
2124180db5
|
@ -1,7 +1,7 @@
|
|||
# CI and Generated Stuff Readme
|
||||
|
||||
<!--
|
||||
# Copyright 2018-2023 Collabora, Ltd. and the Monado contributors
|
||||
# Copyright 2018-2024, Collabora, Ltd. and the Monado contributors
|
||||
#
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
-->
|
||||
|
@ -16,7 +16,7 @@ You can install it with:
|
|||
|
||||
<!-- do not break the following line, it is used in CI setup too, to make sure it works -->
|
||||
```sh
|
||||
python3 -m pip install git+https://gitlab.freedesktop.org/freedesktop/ci-templates@185ede0e9b9b1924b92306ab8b882a6294e92613
|
||||
pipx install git+https://gitlab.freedesktop.org/freedesktop/ci-templates@185ede0e9b9b1924b92306ab8b882a6294e92613
|
||||
```
|
||||
|
||||
On Windows you will also need to have GNU make and busybox installed, such as with:
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
# SPDX-FileCopyrightText: 2018-2022 Collabora, Ltd. and the Monado contributors
|
||||
# SPDX-FileCopyrightText: 2018-2024, Collabora, Ltd. and the Monado contributors
|
||||
|
||||
# This runs the command in the README as an extra bit of continuous integration.
|
||||
set -e
|
||||
|
||||
(
|
||||
cd "$(dirname "$0")"
|
||||
sh -c "$(grep '^python3 -m pip' README.md)"
|
||||
# Getting the path set up right for pipx in CI is a hassle.
|
||||
# This script is usage on the CI itself only!
|
||||
sh -c "$(grep '^pipx' README.md | sed 's/pipx install/python3 -m pip install --break-system-packages/' )"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue