Skip to content

Commit

Permalink
added windows libretro workflow, changed name of Linux libretro artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
hazelwiss committed Aug 25, 2024
1 parent edab1aa commit ae4e8af
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_retro_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# You may pin to the exact commit or the version.
uses: actions/upload-artifact@v2
with:
name: LinuxRelease
name: LinuxRelease (Libretro)
path: build/libSkyEmuRetro.so
#uses: softprops/[email protected]
#with:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/deploy_retro_win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build Windows (Libretro)
on: [push,pull_request]
jobs:
build-and-deploy:
runs-on: windows-2019
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Get latest CMake and ninja
# Using 'latest' branch, the most recent CMake and ninja are installed.
uses: lukka/get-cmake@latest

- name: Build 🔧
run: |
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.19041.0 ..
cmake --build . --config Release --target SkyEmuRetro
- name: GH Release 🚀
# You may pin to the exact commit or the version.
uses: actions/upload-artifact@v2
with:
name: WindowsRelease (Libretro)
path: build/libSkyEmuRetro.dll
#uses: softprops/[email protected]
#with:
# # Note-worthy description of changes in release
# # body: # optional
# # Path to load note-worthy description of changes in release from
# # body_path: # optional
# # Gives the release a custom name. Defaults to tag name
# name: LinuxRelease
# # Identify the release as a prerelease. Defaults to false
# prerelease: True
# # Newline-delimited list of path globs for asset files to upload
# files: build/bin/*

0 comments on commit ae4e8af

Please sign in to comment.