aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRicardo (XenGi) Band <email@ricardo.band>2021-02-07 20:24:30 +0100
committerRicardo (XenGi) Band <email@ricardo.band>2021-02-07 20:24:30 +0100
commit0f2e8bd5ee865dd913601d7c45edc899f882b405 (patch)
tree9abd911c9fe859012a5ff9c3c4ad218cab489c07 /.gitlab-ci.yml
parentbcae0f16c7deb1c40d1ac54a4d974f2673323d44 (diff)
downloadgerbolyze-0f2e8bd5ee865dd913601d7c45edc899f882b405.tar.gz
gerbolyze-0f2e8bd5ee865dd913601d7c45edc899f882b405.tar.bz2
gerbolyze-0f2e8bd5ee865dd913601d7c45edc899f882b405.zip
debian should work
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8873f95..ec27006 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,14 +8,15 @@ debian_10:
stage: build
image: debian:10
script:
- - "sudo apt install libopencv-dev libpugixml-dev libpangocairo-1.0-0 libpango1.0-dev libcairo2-dev clang make python3 git python3-wheel curl python3-pip python3-venv"
- - "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"
+ - "apt-get update"
+ - "apt-get upgrade --no-install-recommends --assume-yes"
+ - "apt-get install --no-install-recommends --assume-yes libopencv-dev libpugixml-dev libpangocairo-1.0-0 libpango1.0-dev libcairo2-dev clang make python3 git python3-wheel curl python3-pip python3-setuptools python3-numpy python3-slugify python3-lxml python3-click python3-cffi python3-cairocffi python3-pycparser"
+ - "curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs | sh -s -- -y --default-toolchain stable"
- "source $HOME/.cargo/env"
- - "rustup install stable"
- - "rustup default stable"
- "cargo install usvg"
- "pip3 install --user git+https://git.jaseg.de/pcb-tools-extension.git"
- - "pip3 install --user gerbolyze --no-binary gerbolyze"
+ - "python3 setup.py install --user"
+ - "export PATH=$HOME/.local/bin:$PATH"
- "gerbolyze --help"
ubuntu_2004: