Add .gitlab-ci.yml file

This commit is contained in:
jdgleaver 2020-12-22 10:18:12 +00:00
parent 59ffdd7133
commit 214826c88e

20
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,20 @@
stages:
- package
.package-base:
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:latest
stage: package
variables:
MEDIA_PATH: .media
before_script:
- rm -fr configure Makefile .git*
script:
- mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./* ${MEDIA_PATH}/${CI_PROJECT_NAME}
artifacts:
paths:
- ${MEDIA_PATH}
expire_in: 1 day
libretro-package-any:
extends: .package-base