diff --git a/.github/workflows/deploy_retro_linux.yml b/.github/workflows/deploy_retro_linux.yml index d41a252d7..93514448f 100644 --- a/.github/workflows/deploy_retro_linux.yml +++ b/.github/workflows/deploy_retro_linux.yml @@ -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/action-gh-release@v0.1.5 #with: diff --git a/.github/workflows/deploy_retro_win.yml b/.github/workflows/deploy_retro_win.yml new file mode 100644 index 000000000..5a7db237f --- /dev/null +++ b/.github/workflows/deploy_retro_win.yml @@ -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/checkout@v2.3.1 + - 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/action-gh-release@v0.1.5 + #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/* +