summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..42a4224
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+default:
+ image: rust:latest
+
+build-job:
+ stage: build
+ script:
+ - curl -s https://gitlab.com/subplot/subplot/-/raw/main/install-debian.sh | bash
+ - apt-get update
+ - apt-get install -y black subplot texlive-latex-base texlive-latex-recommended texlive-fonts-recommended plantuml jq
+ - rustup component add clippy
+ - rustup component add rustfmt
+ - if ! ./check; then echo =====================; tail -n 500 test.log; exit 1; fi