2020-09-07 15:26:41 +00:00
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:latest
|
2019-05-05 22:19:12 +00:00
|
|
|
|
2020-09-07 15:26:41 +00:00
|
|
|
stages:
|
|
|
|
- build-prepare
|
|
|
|
- build
|
|
|
|
- prepare-for-static-cores
|
|
|
|
- trigger-static-cores
|
|
|
|
|
|
|
|
build-retroarch-windows-x64:
|
2020-12-30 13:25:09 +00:00
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-mxe-win64-cross:gcc10
|
2020-09-07 15:26:41 +00:00
|
|
|
stage: build
|
2020-12-22 13:50:44 +00:00
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2021-02-16 10:16:56 +00:00
|
|
|
STRIP_BIN: 1
|
2020-10-16 16:49:43 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
2020-09-07 15:26:41 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch.exe
|
2020-12-22 13:50:44 +00:00
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-09-07 15:26:41 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
2020-12-30 13:25:09 +00:00
|
|
|
- "MOC=/usr/lib/mxe/usr/x86_64-w64-mingw32.shared/qt5/bin/moc ./configure --host=x86_64-w64-mingw32.shared"
|
2020-10-16 16:49:43 +00:00
|
|
|
- "make -j$NUMPROC"
|
2021-02-16 10:16:56 +00:00
|
|
|
- if [ $STRIP_BIN -eq 1 ]; then strip --strip-unneeded retroarch.exe; fi
|
2020-12-22 13:50:44 +00:00
|
|
|
- "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"
|
2020-12-31 22:58:49 +00:00
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/redist"
|
2020-12-30 13:25:09 +00:00
|
|
|
- "cd libretro-common/audio/dsp_filters && make -j$NUMPROC platform=win compiler=x86_64-w64-mingw32.static-gcc build=release && make -j$NUMPROC platform=win compiler=x86_64-w64-mingw32.static-gcc build=release strip && cd -"
|
2020-12-22 13:50:44 +00:00
|
|
|
- "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"
|
2020-12-30 13:25:09 +00:00
|
|
|
- "cd gfx/video_filters && make -j$NUMPROC platform=win compiler=x86_64-w64-mingw32.static-gcc build=release && make -j$NUMPROC platform=win compiler=x86_64-w64-mingw32.static-gcc build=release strip && cd -"
|
2020-12-22 13:50:44 +00:00
|
|
|
- "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"
|
2020-12-31 22:58:49 +00:00
|
|
|
- "/bin/bash /usr/lib/mxe/tools/copydlldeps.sh
|
|
|
|
--infile retroarch.exe
|
|
|
|
--destdir ${MEDIA_PATH}/${CI_PROJECT_NAME}/redist/
|
|
|
|
--recursivesrcdir /usr/lib/mxe/usr/x86_64-w64-mingw32.shared/
|
|
|
|
--enforcedir /usr/lib/mxe/usr/x86_64-w64-mingw32.shared/qt5/plugins/bearer/
|
|
|
|
--enforcedir /usr/lib/mxe/usr/x86_64-w64-mingw32.shared/qt5/plugins/iconengines/
|
|
|
|
--enforcedir /usr/lib/mxe/usr/x86_64-w64-mingw32.shared/qt5/plugins/imageformats/
|
|
|
|
--enforcedir /usr/lib/mxe/usr/x86_64-w64-mingw32.shared/qt5/plugins/platforms/
|
|
|
|
--enforcedir /usr/lib/mxe/usr/x86_64-w64-mingw32.shared/qt5/plugins/styles/
|
|
|
|
--copy
|
|
|
|
--objdump x86_64-w64-mingw32.shared-objdump"
|
2021-01-01 03:23:39 +00:00
|
|
|
- "rm -f ${MEDIA_PATH}/${CI_PROJECT_NAME}/redist/opengl32.dll"
|
2020-09-07 15:26:41 +00:00
|
|
|
|
2021-01-01 17:57:24 +00:00
|
|
|
build-retroarch-windows-i686:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-mxe-win32-cross:gcc10
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2021-02-16 10:16:56 +00:00
|
|
|
STRIP_BIN: 1
|
2021-01-01 17:57:24 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch.exe
|
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2021-01-01 17:57:24 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "MOC=/usr/lib/mxe/usr/i686-w64-mingw32.shared/qt5/bin/moc ./configure --host=i686-w64-mingw32.shared"
|
|
|
|
- "make -j$NUMPROC"
|
2021-02-16 10:16:56 +00:00
|
|
|
- if [ $STRIP_BIN -eq 1 ]; then strip --strip-unneeded retroarch.exe; fi
|
2021-01-01 17:57:24 +00:00
|
|
|
- "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"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/redist"
|
|
|
|
- "cd libretro-common/audio/dsp_filters && make -j$NUMPROC platform=win compiler=i686-w64-mingw32.static-gcc build=release && make -j$NUMPROC platform=win compiler=i686-w64-mingw32.static-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=i686-w64-mingw32.static-gcc build=release && make -j$NUMPROC platform=win compiler=i686-w64-mingw32.static-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"
|
|
|
|
- "/bin/bash /usr/lib/mxe/tools/copydlldeps.sh
|
|
|
|
--infile retroarch.exe
|
|
|
|
--destdir ${MEDIA_PATH}/${CI_PROJECT_NAME}/redist/
|
2021-01-01 18:42:05 +00:00
|
|
|
--recursivesrcdir /usr/lib/mxe/usr/i686-w64-mingw32.shared/
|
|
|
|
--enforcedir /usr/lib/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/bearer/
|
|
|
|
--enforcedir /usr/lib/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/iconengines/
|
|
|
|
--enforcedir /usr/lib/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/imageformats/
|
2021-01-01 17:57:24 +00:00
|
|
|
--enforcedir /usr/lib/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/platforms/
|
|
|
|
--enforcedir /usr/lib/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/styles/
|
|
|
|
--copy
|
|
|
|
--objdump i686-w64-mingw32.shared-objdump"
|
|
|
|
- "rm -f ${MEDIA_PATH}/${CI_PROJECT_NAME}/redist/opengl32.dll"
|
|
|
|
|
2021-02-10 12:08:21 +00:00
|
|
|
build-retroarch-windows-msvc10-x64:
|
|
|
|
tags:
|
|
|
|
- msvc2010
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
|
|
|
MSYSTEM: MINGW64
|
|
|
|
ARCH: x86_64
|
|
|
|
MSYS_BIN_DIR: C:\msys64\usr\bin
|
|
|
|
SDK_BIN_DIR: C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin
|
2021-02-16 09:07:38 +00:00
|
|
|
RCEDIT_BIN_DIR: C:\Program Files\rcedit
|
2021-02-10 12:08:21 +00:00
|
|
|
PEDEPS_BIN_DIR: C:\Program Files\pedeps-0.1.9-win64\bin
|
|
|
|
before_script:
|
|
|
|
- $Env:HOME = "."
|
2021-02-16 09:07:38 +00:00
|
|
|
- $Env:Path += -join(";", "$Env:SDK_BIN_DIR", ";", "$Env:RCEDIT_BIN_DIR", ";", "$Env:PEDEPS_BIN_DIR")
|
2021-02-10 12:08:21 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch.exe
|
|
|
|
- ${MEDIA_PATH}
|
|
|
|
expire_in: 10 min
|
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
# Build RetroArch
|
|
|
|
- $Script:MakeCmd = "$Env:MSYS_BIN_DIR\env.exe $Env:MSYS_BIN_DIR\bash.exe -l -c 'make -f Makefile.griffin platform=windows_msvc2010_x64'"
|
|
|
|
- Invoke-Expression $Script:MakeCmd
|
|
|
|
- mt.exe -nologo -manifest "retroarch.exe.manifest" -outputresource:"retroarch.exe;#1"
|
2021-02-16 09:07:38 +00:00
|
|
|
- rcedit-x64.exe "retroarch.exe" --set-icon "media\retroarch.ico"
|
2021-02-10 12:08:21 +00:00
|
|
|
# Create .media subdirectories
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/audio" -ItemType Directory
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/video" -ItemType Directory
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/pkg" -ItemType Directory
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/redist" -ItemType Directory
|
|
|
|
# Copy audio/video filters
|
|
|
|
- Get-ChildItem -Path "libretro-common/audio/dsp_filters/*" -Include *.dsp | Copy-Item -Destination "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/audio"
|
|
|
|
- Get-ChildItem -Path "gfx/video_filters/*" -Include *.filt | Copy-Item -Destination "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/video"
|
|
|
|
# Copy default config file
|
|
|
|
- Copy-Item -Path "retroarch.cfg" -Destination "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/pkg/retroarch.default.cfg"
|
|
|
|
# Copy dll dependencies
|
|
|
|
# (note that msvc10 build should not have any, but this
|
|
|
|
# may change in the future)
|
|
|
|
- copypedeps.exe -r retroarch.exe "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/redist"
|
|
|
|
- Remove-Item "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/redist/retroarch.exe" -ErrorAction Ignore
|
|
|
|
|
|
|
|
build-retroarch-windows-msvc10-i686:
|
|
|
|
tags:
|
|
|
|
- msvc2010
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
|
|
|
MSYSTEM: MINGW32
|
|
|
|
ARCH: x86
|
|
|
|
MSYS_BIN_DIR: C:\msys64\usr\bin
|
|
|
|
SDK_BIN_DIR: C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin
|
2021-02-16 09:07:38 +00:00
|
|
|
RCEDIT_BIN_DIR: C:\Program Files\rcedit
|
2021-02-10 12:08:21 +00:00
|
|
|
PEDEPS_BIN_DIR: C:\Program Files\pedeps-0.1.9-win64\bin
|
|
|
|
before_script:
|
|
|
|
- $Env:HOME = "."
|
2021-02-16 09:07:38 +00:00
|
|
|
- $Env:Path += -join(";", "$Env:SDK_BIN_DIR", ";", "$Env:RCEDIT_BIN_DIR", ";", "$Env:PEDEPS_BIN_DIR")
|
2021-02-10 12:08:21 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch.exe
|
|
|
|
- ${MEDIA_PATH}
|
|
|
|
expire_in: 10 min
|
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
# Build RetroArch
|
|
|
|
- $Script:MakeCmd = "$Env:MSYS_BIN_DIR\env.exe $Env:MSYS_BIN_DIR\bash.exe -l -c 'make -f Makefile.griffin platform=windows_msvc2010_x86'"
|
|
|
|
- Invoke-Expression $Script:MakeCmd
|
|
|
|
- mt.exe -nologo -manifest "retroarch.exe.manifest" -outputresource:"retroarch.exe;#1"
|
2021-02-16 09:07:38 +00:00
|
|
|
- rcedit-x64.exe "retroarch.exe" --set-icon "media\retroarch.ico"
|
2021-02-10 12:08:21 +00:00
|
|
|
# Create .media subdirectories
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/audio" -ItemType Directory
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/video" -ItemType Directory
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/pkg" -ItemType Directory
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/redist" -ItemType Directory
|
|
|
|
# Copy audio/video filters
|
|
|
|
- Get-ChildItem -Path "libretro-common/audio/dsp_filters/*" -Include *.dsp | Copy-Item -Destination "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/audio"
|
|
|
|
- Get-ChildItem -Path "gfx/video_filters/*" -Include *.filt | Copy-Item -Destination "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/video"
|
|
|
|
# Copy default config file
|
|
|
|
- Copy-Item -Path "retroarch.cfg" -Destination "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/pkg/retroarch.default.cfg"
|
|
|
|
# Copy dll dependencies
|
|
|
|
# (note that msvc10 build should not have any, but this
|
2021-02-12 11:46:55 +00:00
|
|
|
# may change in the future)
|
|
|
|
- copypedeps.exe -r retroarch.exe "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/redist"
|
|
|
|
- Remove-Item "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/redist/retroarch.exe" -ErrorAction Ignore
|
|
|
|
|
|
|
|
build-retroarch-windows-msvc05-i686:
|
|
|
|
tags:
|
|
|
|
- win10
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
|
|
|
MSYSTEM: MINGW32
|
|
|
|
ARCH: x86
|
|
|
|
MSYS_BIN_DIR: C:\msys64\usr\bin
|
|
|
|
SDK_BIN_DIR: C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin
|
2021-02-16 09:07:38 +00:00
|
|
|
RCEDIT_BIN_DIR: C:\Program Files\rcedit
|
2021-02-12 11:46:55 +00:00
|
|
|
PEDEPS_BIN_DIR: C:\Program Files\pedeps-0.1.9-win64\bin
|
|
|
|
VS80COMNTOOLS: C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\
|
|
|
|
before_script:
|
|
|
|
- $Env:HOME = "."
|
2021-02-16 09:07:38 +00:00
|
|
|
- $Env:Path += -join(";", "$Env:SDK_BIN_DIR", ";", "$Env:RCEDIT_BIN_DIR", ";", "$Env:PEDEPS_BIN_DIR")
|
2021-02-12 11:46:55 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch.exe
|
|
|
|
- ${MEDIA_PATH}
|
|
|
|
expire_in: 10 min
|
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
# Build RetroArch
|
|
|
|
- $Script:MakeCmd = "$Env:MSYS_BIN_DIR\env.exe $Env:MSYS_BIN_DIR\bash.exe -l -c 'make -f Makefile.griffin platform=windows_msvc2005_x86'"
|
|
|
|
- Invoke-Expression $Script:MakeCmd
|
|
|
|
- mt.exe -nologo -manifest "retroarch.exe.manifest" -outputresource:"retroarch.exe;#1"
|
2021-02-16 09:07:38 +00:00
|
|
|
- rcedit-x64.exe "retroarch.exe" --set-icon "media\retroarch.ico"
|
2021-02-12 11:46:55 +00:00
|
|
|
# Create .media subdirectories
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/audio" -ItemType Directory
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/video" -ItemType Directory
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/pkg" -ItemType Directory
|
|
|
|
- New-Item -Path "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/redist" -ItemType Directory
|
|
|
|
# Copy audio/video filters
|
|
|
|
- Get-ChildItem -Path "libretro-common/audio/dsp_filters/*" -Include *.dsp | Copy-Item -Destination "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/audio"
|
|
|
|
- Get-ChildItem -Path "gfx/video_filters/*" -Include *.filt | Copy-Item -Destination "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/filters/video"
|
|
|
|
# Copy default config file
|
|
|
|
- Copy-Item -Path "retroarch.cfg" -Destination "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/pkg/retroarch.default.cfg"
|
|
|
|
# Copy dll dependencies
|
|
|
|
# (note that msvc05 build should not have any, but this
|
2021-02-10 12:08:21 +00:00
|
|
|
# may change in the future)
|
|
|
|
- copypedeps.exe -r retroarch.exe "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/redist"
|
|
|
|
- Remove-Item "$Env:MEDIA_PATH/$Env:CI_PROJECT_NAME/redist/retroarch.exe" -ErrorAction Ignore
|
|
|
|
|
2020-09-07 15:26:41 +00:00
|
|
|
build-retroarch-linux-x64:
|
2021-01-05 11:17:00 +00:00
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:xenial-gcc9
|
2020-09-07 15:26:41 +00:00
|
|
|
stage: build
|
2021-01-05 11:17:00 +00:00
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2021-02-16 10:16:56 +00:00
|
|
|
STRIP_BIN: 1
|
2020-10-16 16:49:43 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
2020-09-07 15:26:41 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch
|
2021-01-07 16:56:57 +00:00
|
|
|
- retroarch_qt
|
2021-01-05 11:17:00 +00:00
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-09-07 15:26:41 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
2021-01-07 16:56:57 +00:00
|
|
|
# Qt build
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDirQt"
|
|
|
|
- "./configure --prefix=/usr"
|
|
|
|
- "make -j$NUMPROC"
|
2021-02-16 10:16:56 +00:00
|
|
|
- if [ $STRIP_BIN -eq 1 ]; then strip --strip-unneeded retroarch; fi
|
2021-01-07 16:56:57 +00:00
|
|
|
- "make install DESTDIR=${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDirQt prefix=/usr"
|
2021-01-12 11:24:23 +00:00
|
|
|
- "rm -rf ${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDirQt/etc"
|
2021-01-07 16:56:57 +00:00
|
|
|
- "cd ${MEDIA_PATH}/${CI_PROJECT_NAME}/ && tar -czf AppDirQt.tar.gz AppDirQt && rm -rf AppDirQt && cd -"
|
|
|
|
- "mv -f retroarch retroarch_qt"
|
|
|
|
# Non-Qt build
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDir"
|
|
|
|
- "make clean"
|
2021-01-05 16:44:15 +00:00
|
|
|
- "./configure --disable-qt --prefix=/usr"
|
2021-02-10 10:21:47 +00:00
|
|
|
- "make -j$NUMPROC"
|
2021-02-16 10:16:56 +00:00
|
|
|
- if [ $STRIP_BIN -eq 1 ]; then strip --strip-unneeded retroarch; fi
|
2021-02-10 10:21:47 +00:00
|
|
|
- "make install DESTDIR=${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDir prefix=/usr"
|
|
|
|
- "rm -rf ${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDir/etc"
|
|
|
|
- "cd ${MEDIA_PATH}/${CI_PROJECT_NAME}/ && tar -czf AppDir.tar.gz AppDir && rm -rf AppDir && cd -"
|
|
|
|
# Filters
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cd libretro-common/audio/dsp_filters && make -j$NUMPROC build=release && make -j$NUMPROC build=release strip && cd -"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.so ${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 build=release && make -j$NUMPROC build=release strip && cd -"
|
|
|
|
- "cp -f gfx/video_filters/*.so ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
|
|
|
|
build-retroarch-linux-i686:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-i386-ubuntu:xenial-gcc9
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2021-02-16 10:16:56 +00:00
|
|
|
STRIP_BIN: 1
|
2021-02-10 10:21:47 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch
|
|
|
|
- ${MEDIA_PATH}
|
|
|
|
expire_in: 10 min
|
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
# Qt build
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDirQt"
|
|
|
|
- "./configure --prefix=/usr"
|
|
|
|
- "make -j$NUMPROC"
|
2021-02-16 10:16:56 +00:00
|
|
|
- if [ $STRIP_BIN -eq 1 ]; then strip --strip-unneeded retroarch; fi
|
2021-02-10 10:21:47 +00:00
|
|
|
- "make install DESTDIR=${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDirQt prefix=/usr"
|
|
|
|
- "rm -rf ${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDirQt/etc"
|
|
|
|
- "cd ${MEDIA_PATH}/${CI_PROJECT_NAME}/ && tar -czf AppDirQt.tar.gz AppDirQt && rm -rf AppDirQt && cd -"
|
|
|
|
- "mv -f retroarch retroarch_qt"
|
|
|
|
# Non-Qt build
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDir"
|
|
|
|
- "make clean"
|
|
|
|
- "./configure --disable-qt --prefix=/usr"
|
2020-10-16 16:49:43 +00:00
|
|
|
- "make -j$NUMPROC"
|
2021-02-16 10:16:56 +00:00
|
|
|
- if [ $STRIP_BIN -eq 1 ]; then strip --strip-unneeded retroarch; fi
|
2021-01-07 16:56:57 +00:00
|
|
|
- "make install DESTDIR=${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDir prefix=/usr"
|
2021-01-12 11:24:23 +00:00
|
|
|
- "rm -rf ${MEDIA_PATH}/${CI_PROJECT_NAME}/AppDir/etc"
|
2021-01-07 16:56:57 +00:00
|
|
|
- "cd ${MEDIA_PATH}/${CI_PROJECT_NAME}/ && tar -czf AppDir.tar.gz AppDir && rm -rf AppDir && cd -"
|
|
|
|
# Filters
|
2021-01-05 11:17:00 +00:00
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
2021-01-07 14:30:29 +00:00
|
|
|
- "cd libretro-common/audio/dsp_filters && make -j$NUMPROC build=release && make -j$NUMPROC build=release strip && cd -"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.so ${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 build=release && make -j$NUMPROC build=release strip && cd -"
|
|
|
|
- "cp -f gfx/video_filters/*.so ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
2021-03-15 14:26:29 +00:00
|
|
|
|
2021-03-08 00:49:40 +00:00
|
|
|
.build-retroarch-macos-xcode:
|
|
|
|
# Metal/Universal x86_64 arm64 is default
|
2021-03-07 19:03:55 +00:00
|
|
|
tags:
|
2021-03-07 22:13:13 +00:00
|
|
|
- macosx-packaging
|
2021-03-07 19:03:55 +00:00
|
|
|
stage: build
|
|
|
|
variables:
|
2021-03-08 00:49:40 +00:00
|
|
|
XCARCHIVE_PATH: pkg/apple/build/RetroArchUniversal
|
|
|
|
XCPROJECT_NAME: RetroArch_Metal
|
|
|
|
XCCONFIG: GitLabCI.xcconfig
|
2021-03-07 19:03:55 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-03-08 00:49:40 +00:00
|
|
|
- ${XCPROJECT_NAME}.zip
|
2021-03-12 09:12:52 +00:00
|
|
|
- retroarch-repo/
|
2021-03-07 19:03:55 +00:00
|
|
|
expire_in: 10 min
|
|
|
|
dependencies: []
|
|
|
|
script:
|
2021-03-08 00:49:40 +00:00
|
|
|
- xcodebuild -project pkg/apple/${XCPROJECT_NAME}.xcodeproj -config Release -scheme RetroArch -archivePath ${XCARCHIVE_PATH} -xcconfig pkg/apple/${XCCONFIG} archive
|
2021-03-09 16:28:16 +00:00
|
|
|
- pushd ${XCARCHIVE_PATH}.xcarchive/Products/Users/gitlab/Applications/
|
2021-03-09 19:49:22 +00:00
|
|
|
- ditto -c -k --sequesterRsrc --keepParent RetroArch.app RetroArch.zip
|
2021-03-09 16:28:16 +00:00
|
|
|
- popd
|
|
|
|
- mv ${XCARCHIVE_PATH}.xcarchive/Products/Users/gitlab/Applications/RetroArch.zip ${XCPROJECT_NAME}.zip
|
2021-03-12 09:12:52 +00:00
|
|
|
- mkdir .retroarch-repo
|
|
|
|
- "cp -r ./* .retroarch-repo"
|
|
|
|
- "mv .retroarch-repo/ retroarch-repo/"
|
2021-03-08 00:49:40 +00:00
|
|
|
|
|
|
|
# Mac OS Universal, Metal
|
|
|
|
build-retroarch-osx-universal-metal:
|
|
|
|
extends: .build-retroarch-macos-xcode
|
|
|
|
|
|
|
|
build-retroarch-osx-opengl-x64:
|
|
|
|
extends: .build-retroarch-macos-xcode
|
|
|
|
variables:
|
|
|
|
XCARCHIVE_PATH: pkg/apple/build/RetroArchOpenGL
|
|
|
|
XCPROJECT_NAME: RetroArch
|
|
|
|
XCCONFIG: OpenGL_GitLabCI.xcconfig
|
2021-03-07 19:03:55 +00:00
|
|
|
|
2021-03-13 17:58:23 +00:00
|
|
|
build-retroarch-ios-arm64:
|
|
|
|
extends: .build-retroarch-macos-xcode
|
|
|
|
variables:
|
|
|
|
XCPROJECT_NAME: RetroArch_iOS11_Metal
|
|
|
|
XCCONFIG: GitLabCI.xcconfig
|
2021-03-14 18:00:46 +00:00
|
|
|
XCSCHEME: "RetroArch iOS Release"
|
2021-03-13 17:58:23 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-repo/
|
|
|
|
expire_in: 10 min
|
|
|
|
script:
|
2021-03-14 18:00:46 +00:00
|
|
|
- xcodebuild -project pkg/apple/${XCPROJECT_NAME}.xcodeproj -config Release -scheme "${XCSCHEME}" -xcconfig pkg/apple/iOS/GitLabCI.xcconfig build
|
2021-03-13 17:58:23 +00:00
|
|
|
- mkdir .retroarch-repo
|
|
|
|
- "cp -r ./* .retroarch-repo"
|
|
|
|
- "mv .retroarch-repo/ retroarch-repo/"
|
|
|
|
|
2021-03-22 08:55:07 +00:00
|
|
|
build-retroarch-ios9:
|
|
|
|
extends: .build-retroarch-macos-xcode
|
|
|
|
variables:
|
|
|
|
XCPROJECT_NAME: RetroArch_iOS9
|
|
|
|
XCCONFIG: GitLabCI.xcconfig
|
2021-03-22 12:03:46 +00:00
|
|
|
XCSCHEME: "RetroArchiOS9"
|
2021-03-22 08:55:07 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-repo/
|
|
|
|
expire_in: 10 min
|
|
|
|
script:
|
|
|
|
- xcodebuild -project pkg/apple/${XCPROJECT_NAME}.xcodeproj -config Release -scheme "${XCSCHEME}" -xcconfig pkg/apple/iOS/GitLabCI.xcconfig build
|
|
|
|
- mkdir .retroarch-repo
|
|
|
|
- "cp -r ./* .retroarch-repo"
|
|
|
|
- "mv .retroarch-repo/ retroarch-repo/"
|
|
|
|
|
2021-03-17 09:48:02 +00:00
|
|
|
build-retroarch-tvos-arm64:
|
|
|
|
extends: build-retroarch-ios-arm64
|
|
|
|
variables:
|
|
|
|
XCSCHEME: "RetroArch tvOS Release"
|
2021-03-14 18:00:46 +00:00
|
|
|
|
2020-12-03 14:11:22 +00:00
|
|
|
build-retroarch-dingux-mips32:
|
2020-11-26 12:41:37 +00:00
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-dingux:latest
|
|
|
|
stage: build
|
2020-12-21 18:03:57 +00:00
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2021-02-16 10:16:56 +00:00
|
|
|
STRIP_BIN: 1
|
2020-11-26 12:41:37 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-04-29 12:01:44 +00:00
|
|
|
- retroarch
|
2020-11-26 12:41:37 +00:00
|
|
|
- retroarch_rg350.opk
|
2020-12-21 18:03:57 +00:00
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-11-26 12:41:37 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "make -j$NUMPROC -f Makefile.rg350"
|
2020-12-21 18:03:57 +00:00
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.dsp ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
2020-11-26 12:41:37 +00:00
|
|
|
|
2021-03-23 12:46:25 +00:00
|
|
|
build-retroarch-dingux-odbeta-mips32:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-dingux:odbeta
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
|
|
|
STRIP_BIN: 1
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-04-29 12:01:44 +00:00
|
|
|
- retroarch
|
2021-03-23 12:46:25 +00:00
|
|
|
- retroarch_rg350_odbeta.opk
|
|
|
|
- ${MEDIA_PATH}
|
|
|
|
expire_in: 10 min
|
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "make -j$NUMPROC -f Makefile.rg350_odbeta"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.dsp ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
|
2021-07-08 15:43:02 +00:00
|
|
|
build-retroarch-rs90-odbeta-mips32:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-dingux:odbeta
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
|
|
|
STRIP_BIN: 1
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch
|
|
|
|
- retroarch_rs90_odbeta.opk
|
|
|
|
- ${MEDIA_PATH}
|
|
|
|
expire_in: 10 min
|
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "make -j$NUMPROC -f Makefile.rs90"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.dsp ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
|
2021-07-29 12:03:23 +00:00
|
|
|
build-retroarch-retrofw-mips32:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-dingux:odbeta
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
|
|
|
STRIP_BIN: 1
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch
|
|
|
|
- retroarch_retrofw.opk
|
|
|
|
- ${MEDIA_PATH}
|
|
|
|
expire_in: 10 min
|
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "make -j$NUMPROC -f Makefile.retrofw"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.dsp ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
|
2020-12-28 05:43:07 +00:00
|
|
|
build-retroarch-android-normal:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-android:latest
|
|
|
|
stage: build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-01-01 15:30:13 +00:00
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-28 05:43:07 +00:00
|
|
|
script:
|
2021-01-01 15:30:13 +00:00
|
|
|
- "cd pkg/android/phoenix && ./gradlew assembleNormalRelease && cd -"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
2020-12-28 05:43:07 +00:00
|
|
|
|
|
|
|
build-retroarch-android-aarch64:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-android:latest
|
|
|
|
stage: build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-01-01 15:30:13 +00:00
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-28 05:43:07 +00:00
|
|
|
script:
|
2021-01-01 15:30:13 +00:00
|
|
|
- "cd pkg/android/phoenix && ./gradlew assembleAarch64Release && cd -"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
2020-12-28 05:43:07 +00:00
|
|
|
|
|
|
|
build-retroarch-android-ra32:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-android:latest
|
|
|
|
stage: build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-01-01 15:30:13 +00:00
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-28 05:43:07 +00:00
|
|
|
script:
|
2021-01-01 15:30:13 +00:00
|
|
|
- "cd pkg/android/phoenix && ./gradlew assembleRa32Release && cd -"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
2020-12-28 05:43:07 +00:00
|
|
|
|
|
|
|
build-retroarch-android-playstore-normal:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-android:latest
|
|
|
|
stage: build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-01-01 15:30:13 +00:00
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-28 05:43:07 +00:00
|
|
|
script:
|
2021-01-01 15:30:13 +00:00
|
|
|
- "cd pkg/android/phoenix && ./gradlew bundlePlayStoreNormalRelease && cd -"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
2020-12-28 05:43:07 +00:00
|
|
|
|
2021-01-01 15:30:13 +00:00
|
|
|
build-retroarch-android-playstore-plus:
|
2020-12-28 05:43:07 +00:00
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-android:latest
|
|
|
|
stage: build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-01-01 15:30:13 +00:00
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-28 05:43:07 +00:00
|
|
|
script:
|
2021-01-01 15:30:13 +00:00
|
|
|
- "cd pkg/android/phoenix && ./gradlew bundlePlayStorePlusRelease && cd -"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
2020-12-28 05:43:07 +00:00
|
|
|
|
2020-09-07 15:26:41 +00:00
|
|
|
build-static-retroarch-libnx-aarch64:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-libnx-devkitpro:latest
|
|
|
|
stage: prepare-for-static-cores
|
2020-10-16 16:49:43 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
2020-09-07 15:26:41 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-09-07 15:26:41 +00:00
|
|
|
dependencies: []
|
|
|
|
needs:
|
|
|
|
# Static dummy builds without a core so its a good check if it properly builds
|
|
|
|
- build-static-retroarch-dummy-libnx-aarch64
|
|
|
|
script:
|
|
|
|
# Allow failure since we don't have a core
|
2020-10-16 16:49:43 +00:00
|
|
|
- "make -f Makefile.libnx -j$NUMPROC ||:"
|
2020-09-07 15:26:41 +00:00
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
2020-12-22 20:03:48 +00:00
|
|
|
|
2020-09-07 15:26:41 +00:00
|
|
|
build-static-retroarch-dummy-libnx-aarch64:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-libnx-devkitpro:latest
|
|
|
|
stage: build
|
2020-12-22 11:44:47 +00:00
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2020-10-16 16:49:43 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
2020-09-07 15:26:41 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2020-12-22 11:44:47 +00:00
|
|
|
- retroarch_switch.nro
|
|
|
|
- retroarch_switch.elf
|
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-09-07 15:26:41 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
2020-10-16 16:49:43 +00:00
|
|
|
- "make -f Makefile.libnx -j$NUMPROC HAVE_STATIC_DUMMY=1"
|
2020-12-22 11:44:47 +00:00
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f pkg/libnx/retroarch.jpg ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
2020-10-06 19:27:05 +00:00
|
|
|
|
|
|
|
build-static-retroarch-vita:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-vita:latest
|
|
|
|
stage: prepare-for-static-cores
|
2020-10-16 16:49:43 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
2020-10-06 19:27:05 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
2021-01-14 08:02:27 +00:00
|
|
|
- retroarch-precompiled-gl/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-10-06 19:27:05 +00:00
|
|
|
dependencies: []
|
2020-12-16 17:50:16 +00:00
|
|
|
needs:
|
|
|
|
# Dummy build requires no core
|
|
|
|
- build-static-retroarch-dummy-vita
|
2020-10-06 19:27:05 +00:00
|
|
|
script:
|
|
|
|
# Allow failure since we don't have a core
|
2020-10-16 16:49:43 +00:00
|
|
|
- "make -f Makefile.vita -j$NUMPROC ||:"
|
2020-10-06 19:27:05 +00:00
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
2021-01-14 08:02:27 +00:00
|
|
|
- "make -f Makefile.vita clean"
|
|
|
|
- "HAVE_VITAGLES=1 make -f Makefile.vita -j$NUMPROC ||:"
|
|
|
|
- "mkdir .retroarch-precompiled-gl"
|
|
|
|
- "cp -r ./* .retroarch-precompiled-gl/"
|
2020-10-06 19:27:05 +00:00
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
2021-01-14 08:02:27 +00:00
|
|
|
- "mv .retroarch-precompiled-gl/ retroarch-precompiled-gl/"
|
2020-10-06 19:27:05 +00:00
|
|
|
|
2020-12-16 17:50:16 +00:00
|
|
|
build-static-retroarch-dummy-vita:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-vita:latest
|
|
|
|
stage: build
|
2020-12-27 09:51:04 +00:00
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2020-12-16 17:50:16 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- eboot.bin
|
|
|
|
- param.sfo
|
2020-12-27 12:18:36 +00:00
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-16 17:50:16 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "make -f Makefile.vita.salamander -j$NUMPROC"
|
2020-12-27 09:51:04 +00:00
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -fr pkg/vita/* ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
2020-12-22 20:03:48 +00:00
|
|
|
|
2020-10-15 16:57:00 +00:00
|
|
|
build-static-retroarch-ps2:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-ps2:latest
|
|
|
|
stage: prepare-for-static-cores
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-10-15 16:57:00 +00:00
|
|
|
dependencies: []
|
2020-12-27 11:16:46 +00:00
|
|
|
needs:
|
|
|
|
# Dummy build requires no core
|
|
|
|
- build-static-retroarch-dummy-ps2
|
2020-10-15 16:57:00 +00:00
|
|
|
script:
|
|
|
|
# Allow failure since we don't have a core
|
2020-10-16 16:49:43 +00:00
|
|
|
# PS2 makefile for now doesn't allow -jX so this is why is hardcoded to -j1
|
|
|
|
- "make -f Makefile.ps2 -j1 ||:"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
|
|
|
|
2020-12-26 20:21:51 +00:00
|
|
|
build-static-retroarch-dummy-ps2:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-ps2:latest
|
|
|
|
stage: build
|
|
|
|
before_script:
|
|
|
|
# PS2 doesn't allow to use -jX for now
|
|
|
|
- export NUMPROC=1
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- raboot.elf
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-26 20:21:51 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
2020-12-26 20:34:35 +00:00
|
|
|
- "make -f Makefile.ps2.salamander -j$NUMPROC release"
|
2020-12-26 20:21:51 +00:00
|
|
|
|
2020-10-16 16:49:43 +00:00
|
|
|
build-static-retroarch-psp:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-psp:latest
|
|
|
|
stage: prepare-for-static-cores
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-10-16 16:49:43 +00:00
|
|
|
dependencies: []
|
2020-12-16 17:50:16 +00:00
|
|
|
needs:
|
|
|
|
# Dummy build requires no core
|
|
|
|
- build-static-retroarch-dummy-psp
|
2020-10-16 16:49:43 +00:00
|
|
|
script:
|
2020-10-16 22:36:17 +00:00
|
|
|
# We need to boostrap before compile
|
|
|
|
- "(cd bootstrap/psp1/kernel_functions_prx/ && make && cd -)"
|
2020-10-16 16:49:43 +00:00
|
|
|
# Allow failure since we don't have a core
|
2020-10-16 22:16:29 +00:00
|
|
|
- "make -f Makefile.psp1 -j$NUMPROC ||:"
|
2020-10-15 16:57:00 +00:00
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
|
|
|
|
2020-12-16 17:50:16 +00:00
|
|
|
build-static-retroarch-dummy-psp:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-psp:latest
|
|
|
|
stage: build
|
2020-12-22 11:44:47 +00:00
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2020-12-16 17:50:16 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2020-12-22 11:44:47 +00:00
|
|
|
- EBOOT.PBP
|
|
|
|
- kernel_functions.prx
|
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-16 17:50:16 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "(cd bootstrap/psp1/kernel_functions_prx/ && make && cd -)"
|
|
|
|
- "make -f Makefile.psp1.salamander -j$NUMPROC"
|
|
|
|
- "make -C bootstrap/psp1/kernel_functions_prx/"
|
2020-12-22 11:44:47 +00:00
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
|
|
|
- "cp -f pkg/psp1/ICON0.PNG ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
|
|
|
- "cp -f pkg/psp1/PIC1.PNG ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
|
|
|
|
2020-12-02 15:59:16 +00:00
|
|
|
build-static-retroarch-ctr:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-devkitpro:latest
|
|
|
|
stage: prepare-for-static-cores
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-02 15:59:16 +00:00
|
|
|
dependencies: []
|
|
|
|
needs:
|
2020-12-02 17:05:26 +00:00
|
|
|
# Dummy build requires no core
|
|
|
|
- build-static-retroarch-dummy-ctr
|
2020-12-02 15:59:16 +00:00
|
|
|
script:
|
|
|
|
# Allow failure since we don't have a core
|
|
|
|
- "make -f Makefile.ctr -j$NUMPROC USE_CTRULIB_2=1 ||:"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
|
|
|
|
2021-03-05 14:18:50 +00:00
|
|
|
build-static-retroarch-ctr-legacy:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-devkitpro:ctr-legacy
|
|
|
|
stage: prepare-for-static-cores
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
|
|
|
expire_in: 10 min
|
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
# Allow failure since we don't have a core
|
|
|
|
- "make -f Makefile.ctr -j$NUMPROC ||:"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
|
|
|
|
2020-12-02 17:05:26 +00:00
|
|
|
build-static-retroarch-dummy-ctr:
|
2020-12-02 15:59:16 +00:00
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-devkitpro:latest
|
|
|
|
stage: build
|
2020-12-22 11:44:47 +00:00
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2020-12-02 15:59:16 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2020-12-22 11:44:47 +00:00
|
|
|
- retroarch_3ds.cia
|
|
|
|
- RetroArch.3dsx
|
|
|
|
- RetroArch.smdh
|
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-02 15:59:16 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "make -f Makefile.ctr.salamander -j$NUMPROC USE_CTRULIB_2=1"
|
|
|
|
- "mv -f retroarch_3ds_salamander.cia retroarch_3ds.cia"
|
|
|
|
- "mv -f retroarch_3ds_salamander.3dsx RetroArch.3dsx"
|
|
|
|
- "mv -f retroarch_3ds_salamander.smdh RetroArch.smdh"
|
2020-12-22 11:44:47 +00:00
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.dsp ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
2020-12-02 15:59:16 +00:00
|
|
|
|
2020-12-22 20:03:48 +00:00
|
|
|
build-static-retroarch-wiiu:
|
2020-12-29 05:43:17 +00:00
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-wiiu:latest
|
2020-12-22 20:03:48 +00:00
|
|
|
stage: prepare-for-static-cores
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-22 20:03:48 +00:00
|
|
|
dependencies: []
|
|
|
|
needs:
|
|
|
|
# Dummy build requires no core
|
|
|
|
- build-static-retroarch-dummy-wiiu
|
|
|
|
script:
|
|
|
|
# Allow failure since we don't have a core
|
|
|
|
- "make -f Makefile.wiiu -j$NUMPROC ||:"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
|
|
|
|
|
|
|
build-static-retroarch-dummy-wiiu:
|
2021-08-01 04:14:57 +00:00
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-wiiu:latest
|
2020-12-22 20:03:48 +00:00
|
|
|
stage: build
|
2020-12-24 10:35:23 +00:00
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2020-12-22 20:03:48 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2020-12-24 10:35:23 +00:00
|
|
|
- retroarch.rpx
|
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-22 20:03:48 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "make -f Makefile.wiiu -j$NUMPROC SALAMANDER_BUILD=1"
|
2020-12-24 10:35:23 +00:00
|
|
|
- "mv -f retroarch_wiiu_salamander.rpx retroarch.rpx"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f pkg/wiiu/icon.png ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
|
|
|
- "cp -f pkg/wiiu/meta.xml ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
2020-12-22 20:03:48 +00:00
|
|
|
|
2020-12-03 16:22:05 +00:00
|
|
|
build-static-retroarch-wii:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-devkitpro:latest
|
|
|
|
stage: prepare-for-static-cores
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-03 16:22:05 +00:00
|
|
|
dependencies: []
|
|
|
|
needs:
|
|
|
|
# Dummy build requires no core
|
|
|
|
- build-static-retroarch-dummy-wii
|
|
|
|
script:
|
|
|
|
# Allow failure since we don't have a core
|
|
|
|
- "make -f Makefile.wii -j$NUMPROC EXTERNAL_LIBOGC=1 GX_PTHREAD_LEGACY=0 ||:"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
|
|
|
|
|
|
|
build-static-retroarch-dummy-wii:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-devkitpro:latest
|
|
|
|
stage: build
|
2020-12-22 11:44:47 +00:00
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
2020-12-03 16:22:05 +00:00
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2020-12-22 11:44:47 +00:00
|
|
|
- boot.dol
|
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-03 16:22:05 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "make -f Makefile.wii.salamander -j$NUMPROC EXTERNAL_LIBOGC=1 GX_PTHREAD_LEGACY=0"
|
|
|
|
- "mv -f retroarch-salamander_wii.dol boot.dol"
|
2020-12-22 11:44:47 +00:00
|
|
|
- "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"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.dsp ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f pkg/wii/icon.png ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
|
|
|
- "cp -f pkg/wii/meta.xml ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
2020-12-03 16:22:05 +00:00
|
|
|
|
2020-12-04 17:35:31 +00:00
|
|
|
build-static-retroarch-ngc:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-devkitpro:latest
|
|
|
|
stage: prepare-for-static-cores
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-04 17:35:31 +00:00
|
|
|
dependencies: []
|
2020-12-22 11:44:47 +00:00
|
|
|
needs:
|
|
|
|
# Dummy build requires no core
|
|
|
|
- build-static-retroarch-dummy-ngc
|
2020-12-04 17:35:31 +00:00
|
|
|
script:
|
|
|
|
# Allow failure since we don't have a core
|
|
|
|
- "make -f Makefile.ngc -j$NUMPROC EXTERNAL_LIBOGC=1 GX_PTHREAD_LEGACY=0 ||:"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
|
|
|
|
2020-12-22 11:44:47 +00:00
|
|
|
build-static-retroarch-dummy-ngc:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-devkitpro:latest
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2020-12-22 11:44:47 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "mkdir -p ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.dsp ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
|
2021-01-06 13:04:38 +00:00
|
|
|
build-static-retroarch-emscripten:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-emscripten:latest
|
|
|
|
stage: prepare-for-static-cores
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- retroarch-precompiled/
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2021-01-06 13:04:38 +00:00
|
|
|
dependencies: []
|
|
|
|
needs:
|
|
|
|
# Dummy build requires no core
|
|
|
|
- build-static-retroarch-dummy-emscripten
|
|
|
|
script:
|
|
|
|
# Allow failure since we don't have a core
|
|
|
|
- "emmake make -f Makefile.emscripten -j$NUMPROC ||:"
|
|
|
|
- "mkdir .retroarch-precompiled"
|
|
|
|
- "cp -r ./* .retroarch-precompiled/"
|
|
|
|
- "mv .retroarch-precompiled/ retroarch-precompiled/"
|
|
|
|
|
|
|
|
build-static-retroarch-dummy-emscripten:
|
|
|
|
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:latest
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
MEDIA_PATH: .media
|
|
|
|
before_script:
|
|
|
|
- export NUMPROC=$(($(nproc)/3))
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- ${MEDIA_PATH}
|
2021-01-21 10:45:15 +00:00
|
|
|
expire_in: 10 min
|
2021-01-06 13:04:38 +00:00
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- "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/media"
|
|
|
|
- "cp -f libretro-common/audio/dsp_filters/*.dsp ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/audio"
|
|
|
|
- "cp -f gfx/video_filters/*.filt ${MEDIA_PATH}/${CI_PROJECT_NAME}/filters/video"
|
|
|
|
- "cp -rf pkg/emscripten/libretro ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg"
|
|
|
|
- "cp -f media/canvas.png ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
- "cp -f media/icon_dark.ico ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
- "cp -f media/icon_light.ico ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
- "cp -f media/invader_dark.png ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
- "cp -f media/invader_light.png ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
- "cp -f media/libretro-logo.png ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
- "cp -f media/retroarch-16x16.ico ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
- "cp -f media/retroarch-16x16.png ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
- "cp -f media/retroarch-96x96.png ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
- "cp -f media/retroarch.ico ${MEDIA_PATH}/${CI_PROJECT_NAME}/pkg/media"
|
|
|
|
|
2020-09-07 15:26:41 +00:00
|
|
|
trigger_static-cores:
|
|
|
|
stage: trigger-static-cores
|
|
|
|
needs:
|
|
|
|
- build-static-retroarch-libnx-aarch64
|
2020-10-06 19:27:05 +00:00
|
|
|
- build-static-retroarch-vita
|
2020-10-15 16:57:00 +00:00
|
|
|
- build-static-retroarch-ps2
|
2020-10-16 16:49:43 +00:00
|
|
|
- build-static-retroarch-psp
|
2020-12-02 15:59:16 +00:00
|
|
|
- build-static-retroarch-ctr
|
2021-03-05 14:18:50 +00:00
|
|
|
- build-static-retroarch-ctr-legacy
|
2020-12-24 10:35:23 +00:00
|
|
|
- build-static-retroarch-wiiu
|
2020-12-04 17:35:31 +00:00
|
|
|
- build-static-retroarch-wii
|
|
|
|
- build-static-retroarch-ngc
|
2021-01-06 13:04:38 +00:00
|
|
|
- build-static-retroarch-emscripten
|
2020-09-07 15:26:41 +00:00
|
|
|
dependencies: []
|
2019-05-05 22:19:12 +00:00
|
|
|
script:
|
2020-09-07 15:26:41 +00:00
|
|
|
# Dummy for now
|
|
|
|
- /bin/true
|