From 26b5023fee185f960bcf2182ed8ba4de07d20622 Mon Sep 17 00:00:00 2001 From: yoogottamk <yoogottamk@outlook.com> Date: Sat, 12 Dec 2020 16:16:42 +0530 Subject: [PATCH] build flatland-rl wheel on python3.7 and expose as artifact --- .gitlab-ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a907c4a2..f9408092 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,7 @@ image: themattrix/tox ## - AWS_SECRET_ACCESS_KEY stages: + - build_wheel - tests - integration_testing - profiling @@ -112,4 +113,18 @@ test_conda_setup: script: - xvfb-run bash getting_started/getting_started.sh - +build_wheel: + image: "python:3.7-slim" + stage: build_wheel + before_script: + - apt update + - apt install -y make + - pip install -r requirements_dev.txt + script: + - make dist + - export WHEEL_NAME="$( find dist -name 'flatland_rl*.whl' )" + - mv "${WHEEL_NAME}" "${WHEEL_NAME/-py2.py3-/-py3-}" + artifacts: + paths: + - dist/flatland_rl*.whl + expire_in: 2 mos -- GitLab