Merge pull request #164 from jdgleaver/gitlab-packaging

Add .gitlab-ci.yml file
This commit is contained in:
Autechre 2020-12-22 11:26:38 +01:00 committed by GitHub
commit 122b184fc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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