esds/.gitlab-ci.yml
2024-10-24 11:23:17 +02:00

46 lines
1.3 KiB
YAML

archlinux:
image: "archlinux:latest"
before_script:
- pacman -Sy python python-pip python-numpy diffutils --noconfirm --needed
- pip install build --break-system-packages
- pip install . --break-system-packages
script:
- ./tests/run.sh
debian:
image: "debian:latest"
before_script:
- apt update && apt install -y python3 python3-pip python-is-python3
- pip install numpy --break-system-packages
- pip install build --break-system-packages
- pip install . --break-system-packages
script:
- ./tests/run.sh
ubuntu:
image: "ubuntu:latest"
before_script:
- apt update && apt install -y python3 python3-pip python-is-python3
- pip install numpy --break-system-packages
- pip install build --break-system-packages
- pip install virtualenv --break-system-packages
- export PATH=${PATH}:${HOME}/.local/bin
- virtualenv myenv
- source myenv/bin/activate
- pip install . --break-system-packages
script:
- ./tests/run.sh
fedora:
image: "fedora:latest"
before_script:
- yum -y update && yum -y install python3 pip
- pip install numpy
- pip install build
- pip install virtualenv
- virtualenv myenv
- source myenv/bin/activate
- pip install .
script:
- ./tests/run.sh