Commit 07c818ee authored by Kaspar Emanuel's avatar Kaspar Emanuel

Add .gitlab-ci.yml

parent 4f6d1240
stages:
- build
- deploy
# Build STL files
build:
stage: build
image: ubuntu:18.04
before_script:
- apt-get update -qq
- apt-get -y -qq install software-properties-common dirmngr apt-transport-https lsb-release ca-certificates python3-pip
- add-apt-repository -y ppa:openscad/releases
- apt-get update -qq
- apt-get install -y -qq openscad
# - pip3 install -r requirements.txt
script:
# Build STL files with OpenSCAD
- mkdir -p /root/.local/share
- mkdir builds
- make -j2
artifacts:
expire_in: 1 week
name: "${CI_PROJECT_NAME}-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}"
paths:
- builds/*.stl
only:
- tags
- merge_requests
- web
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment