aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo (XenGi) Band <email@ricardo.band>2021-02-07 18:29:44 +0100
committerRicardo (XenGi) Band <email@ricardo.band>2021-02-07 18:29:44 +0100
commitc0c019aea643f2e89c43d00876388d188236f678 (patch)
tree5d7e865567384dd7ce5d456fb2683879971e3ebd
parent57fad5d8c3f9967b8571781d0940df0ed88dcc48 (diff)
downloadgerbolyze-c0c019aea643f2e89c43d00876388d188236f678.tar.gz
gerbolyze-c0c019aea643f2e89c43d00876388d188236f678.tar.bz2
gerbolyze-c0c019aea643f2e89c43d00876388d188236f678.zip
trying to build gerbolize via ci
-rw-r--r--.gitlab-ci.yml62
1 files changed, 62 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..5806a38
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,62 @@
+stages:
+ - build
+
+
+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"
+ - "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"
+ - "gerbolyze --version"
+
+ubuntu_2004:
+ stage: build
+ image: ubuntu:20.04
+ 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 cargo"
+ - "cargo install usvg"
+ - "pip3 install --user git+https://git.jaseg.de/pcb-tools-extension.git"
+ - "pip3 install --user gerbolyze --no-binary gerbolyze"
+ - "gerbolyze --version"
+
+fedora_33:
+ stage: build
+ image: fedora:33
+ script:
+ - "sudo dnf install python3 make clang opencv-devel pugixml-devel pango-devel cairo-devel rust cargo"
+ - "cargo install usvg"
+ - "pip3 install --user git+https://git.jaseg.de/pcb-tools-extension.git"
+ - "pip3 install --user gerbolyze --no-binary gerbolyze"
+ - "gerbolyze --version"
+
+archlinux:
+ stage: build
+ image: archlinux:latest
+ script:
+ - "sudo pacman -S pugixml opencv pango cairo git python make clang rustup cargo pkgconf"
+ - "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"
+ - "gerbolyze --version"
+
+source:
+ stage: build
+ image: archlinux:latest
+ script:
+ - "git clone --recurse-submodules https://git.jaseg.de/gerbolyze.git"
+ - "cd gerbolyze"
+ - "pip3 install --user git+https://git.jaseg.de/pcb-tools-extension.git"
+ - "python3 -m venv"
+ - "source venv/bin/activate"
+ - "python3 setup.py install"
+ - "gerbolyze --version"
+