Create .gitlab-ci.yml

This commit is contained in:
m4xw 2020-12-21 14:38:13 +01:00 committed by GitHub
parent 8e1a0ba79a
commit 199019e120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,21 @@
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 .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