forked from libretro/retroarch-assets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
32 lines (30 loc) · 1.23 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
stages:
- package
.package-base:
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:latest
stage: package
variables:
MEDIA_PATH: .media
script:
- mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./branding ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp ./COPYING ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./glui ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./menu_widgets ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./nxrgui ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./ozone ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./pkg ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./rgui ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./sounds ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./switch ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./wallpapers ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./ctr ${MEDIA_PATH}/${CI_PROJECT_NAME}
- cp -R ./xmb ${MEDIA_PATH}/${CI_PROJECT_NAME}
- /bin/bash src/xmb/convert_xmb_assets.sh xmb ${MEDIA_PATH}/${CI_PROJECT_NAME}/xmb_ctr 32x32! 400x240!
- /bin/bash src/xmb/convert_xmb_assets.sh xmb ${MEDIA_PATH}/${CI_PROJECT_NAME}/xmb_vita 64x64! 960x544!
artifacts:
paths:
- ${MEDIA_PATH}
expire_in: 1 day
libretro-package-any:
extends: .package-base