From 5508feb15779c486987096d634b85af6791ec4f0 Mon Sep 17 00:00:00 2001 From: Estelle Poulin Date: Thu, 15 Jun 2023 15:02:54 -0400 Subject: [PATCH] First try --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..5146d04 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +--- + +image: rust + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +stages: + - build + +build-tesseract: + stage: build + script: + - git clone --recursive https://github.com/kornelski/pngquant.git + - cd pngquant + - cargo build --release --features=lcms2-static,png-static,z-static,static + artifacts: + paths: + - "pngquant/target/release/pngquant" + when: on_success + expire_in: 1 days