forked from skylersaleh/SkyEmu
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1.55 KB
/
deploy_retro_linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build Linux (Libretro)
on: [push,pull_request]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install dependencies
# We don't actually use these dependencies, but they are needed for find package.
run: |
sudo apt-get update
sudo apt-get install -y libx11-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev
sudo apt-get install -y libgl1-mesa-dev libegl1-mesa-dev libasound2-dev
- name: Configure & Build 🔧
run: |
mkdir build
cd build
cmake .. && cmake --build . --target skyemu_libretro --config Release
zip skyemu_libretro.zip skyemu_libretro.so ../skyemu_libretro.info
- name: GH Release 🚀
# You may pin to the exact commit or the version.
uses: actions/upload-artifact@v2
with:
name: LinuxRelease (Libretro)
path: build/skyemu_libretro.zip
#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/*