mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(.gitlab-ci.yml) Add windows-x64 packaging artefacts
This commit is contained in:
parent
64391f8e50
commit
5295ec22f7
@ -8,17 +8,31 @@ stages:
|
||||
|
||||
build-retroarch-windows-x64:
|
||||
stage: build
|
||||
variables:
|
||||
MEDIA_PATH: .media
|
||||
before_script:
|
||||
- export NUMPROC=$(($(nproc)/3))
|
||||
artifacts:
|
||||
paths:
|
||||
- retroarch.exe
|
||||
- ${MEDIA_PATH}
|
||||
expire_in: 1 month
|
||||
dependencies: []
|
||||
script:
|
||||
- "./configure --host=x86_64-w64-mingw32"
|
||||
- "make -j$NUMPROC"
|
||||
- "mv retroarch retroarch.exe"
|
||||
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
||||
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
||||
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
||||
- "cd libretro-common/audio/dsp_filters && make -j$NUMPROC platform=win compiler=x86_64-w64-mingw32-gcc build=release && make -j$NUMPROC platform=win compiler=x86_64-w64-mingw32-gcc build=release strip && cd -"
|
||||
- "cp -f libretro-common/audio/dsp_filters/*.dll ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
||||
- "cp -f libretro-common/audio/dsp_filters/*.dsp ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
||||
- "cd gfx/video_filters && make -j$NUMPROC platform=win compiler=x86_64-w64-mingw32-gcc build=release && make -j$NUMPROC platform=win compiler=x86_64-w64-mingw32-gcc build=release strip && cd -"
|
||||
- "cp -f gfx/video_filters/*.dll ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
||||
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
||||
- "cp -f retroarch.cfg ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/retroarch.default.cfg"
|
||||
- "echo -e '[Paths]\nPlugins = ./' > ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/qt.conf"
|
||||
|
||||
build-retroarch-linux-x64:
|
||||
stage: build
|
||||
|
Loading…
x
Reference in New Issue
Block a user