aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-04-14 22:31:15 +0200
committerDaniel Schadt <kingdread@gmx.de>2023-04-14 22:41:13 +0200
commit6402fd860c5eeb460575a913d869a6484fad1320 (patch)
tree88b860282eb5963ba3d7a789dc07ac8add9a5097
parentf4e0fed0ca50b77f63fff5da26aec02a970013d2 (diff)
downloadfietsboek-6402fd860c5eeb460575a913d869a6484fad1320.tar.gz
fietsboek-6402fd860c5eeb460575a913d869a6484fad1320.tar.bz2
fietsboek-6402fd860c5eeb460575a913d869a6484fad1320.zip
CI: install Rust on pypy image
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1725814..8562f11 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,7 +28,11 @@ test:
test-pypy:
image: pypy:3
+ # nh3 does not have wheels prepared for pypy, so we need a working Rust
+ # compiler to compile the module:
script:
+ - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh /dev/stdin -y --profile=minimal
+ - source "$HOME/.cargo/env"
- pip install poetry && pip install "playwright=="$(poetry show playwright | grep version | cut -f 2 -d ":" | tr -d " ")
- playwright install firefox
- playwright install-deps