-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: Build Android (Libretro) | ||
on: [push,pull_request] | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build iOS (Libretro) | ||
on: [push,pull_request] | ||
jobs: | ||
build-and-deploy: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/[email protected] | ||
- name: Configure & Build 🔧 | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -GXcode -DCMAKE_SYSTEM_NAME=iOS ../ | ||
cmake --build . --config Release | ||
mkdir Payload | ||
cp -R libSkyEmuRetro.dylib Payload/SkyEmu.app | ||
zip -r SkyEmuRetro.ipa Payload | ||
- name: GH Release 🚀 | ||
# You may pin to the exact commit or the version. | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: iOSRelease (Libretro) | ||
path: build/SkyEmu.ipa | ||
#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/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Build Linux (Libretro) | ||
on: [push,pull_request] | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/[email protected] | ||
- name: Configure & Build 🔧 | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. && cmake --build . | ||
- name: GH Release 🚀 | ||
# You may pin to the exact commit or the version. | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: LinuxRelease | ||
path: libSkyEmuRetro.so | ||
#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/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build macOS (Libretro) | ||
on: [push,pull_request] | ||
jobs: | ||
build-and-deploy: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/[email protected] | ||
- name: Configure & Build 🔧 | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. && cmake --build . | ||
- name: Build DMG | ||
run: | | ||
cd build | ||
brew install graphicsmagick imagemagick | ||
pip install setuptools | ||
npm install --global create-dmg | ||
create-dmg --dmg-title=SkyEmu 'libSkyEmuRetro.dylib' || true | ||
ls | ||
mv SkyEmu*.dmg "SkyEmu.dmg" | ||
- name: GH Release 🚀 | ||
# You may pin to the exact commit or the version. | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: MacOSRelease | ||
path: build/SkyEmu.dmg | ||
#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/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
- name: GH Release 🚀 | ||
# You may pin to the exact commit or the version. | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: WindowsRelease | ||
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/* | ||
|