mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 03:45:38 +00:00
Build libretro core in CI
This commit is contained in:
parent
655dff84e2
commit
a1fd801b7f
39
.github/workflows/rolling-release.yml
vendored
39
.github/workflows/rolling-release.yml
vendored
|
@ -30,6 +30,18 @@ jobs:
|
||||||
del /Q bin\x64\*.ipdb
|
del /Q bin\x64\*.ipdb
|
||||||
del /Q bin\x64\common-tests*
|
del /Q bin\x64\common-tests*
|
||||||
|
|
||||||
|
- name: Create libretro core archive
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-libretro-windows-x64-release.7z ./bin/x64/duckstation-libretro-*
|
||||||
|
del /Q bin\x64\duckstation-libretro-*
|
||||||
|
|
||||||
|
- name: Upload release artifact
|
||||||
|
uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: "windows-x64"
|
||||||
|
path: "duckstation-libretro-windows-x64-release.7z"
|
||||||
|
|
||||||
- name: Create release archive
|
- name: Create release archive
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
|
@ -85,6 +97,26 @@ jobs:
|
||||||
name: "linux-x64-appimage-qt-zsync"
|
name: "linux-x64-appimage-qt-zsync"
|
||||||
path: "build/duckstation-qt-x64.AppImage.zsync"
|
path: "build/duckstation-qt-x64.AppImage.zsync"
|
||||||
|
|
||||||
|
- name: Compile libretro core
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mkdir build-libretro
|
||||||
|
cd build-libretro
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBRETRO_CORE=ON -G Ninja ..
|
||||||
|
ninja
|
||||||
|
|
||||||
|
- name: Zip libretro core
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd build-libretro
|
||||||
|
zip -j duckstation-libretro-linux-x64-release.zip src/duckstation-libretro/libduckstation-libretro.so
|
||||||
|
|
||||||
|
- name: Upload Linux libretro core
|
||||||
|
uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: "linux-x64-libretro"
|
||||||
|
path: "build-libretro/duckstation-libretro-linux-x64-release.zip"
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
needs: [windows-build, linux-build]
|
needs: [windows-build, linux-build]
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
@ -115,6 +147,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: "linux-x64-appimage-qt-zsync"
|
name: "linux-x64-appimage-qt-zsync"
|
||||||
|
|
||||||
|
- name: Download Linux libretro core
|
||||||
|
uses: actions/download-artifact@v1
|
||||||
|
with:
|
||||||
|
name: "linux-x64-libretro"
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: "marvinpinto/action-automatic-releases@latest"
|
uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
with:
|
with:
|
||||||
|
@ -123,7 +160,9 @@ jobs:
|
||||||
title: "Latest Development Build"
|
title: "Latest Development Build"
|
||||||
files: |
|
files: |
|
||||||
windows-x64/duckstation-windows-x64-release.7z
|
windows-x64/duckstation-windows-x64-release.7z
|
||||||
|
windows-x64/duckstation-libretro-windows-x64-release.7z
|
||||||
linux-x64-appimage-sdl/duckstation-sdl-x64.AppImage
|
linux-x64-appimage-sdl/duckstation-sdl-x64.AppImage
|
||||||
linux-x64-appimage-sdl-zsync/duckstation-sdl-x64.AppImage.zsync
|
linux-x64-appimage-sdl-zsync/duckstation-sdl-x64.AppImage.zsync
|
||||||
linux-x64-appimage-qt/duckstation-qt-x64.AppImage
|
linux-x64-appimage-qt/duckstation-qt-x64.AppImage
|
||||||
linux-x64-appimage-qt-zsync/duckstation-qt-x64.AppImage.zsync
|
linux-x64-appimage-qt-zsync/duckstation-qt-x64.AppImage.zsync
|
||||||
|
linux-x64-libretro/duckstation-libretro-linux-x64-release.zip
|
||||||
|
|
Loading…
Reference in a new issue