Updated workflows

This commit is contained in:
Steam OS User 2022-04-13 22:31:21 +09:00
commit 19c4bd5c73
3 changed files with 41 additions and 13 deletions

View file

@ -1,4 +1,4 @@
# This is a basic workflow to help you get started with Actions
# Due to the changes to the build systems actually on the branch integrated, this script will fail on main until merged
name: main
@ -18,7 +18,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
build_cooker_snap:
# The type of runner that the job will run on
runs-on: ubuntu-latest
@ -27,10 +27,42 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Runs a set of commands using the runners shell
- name: Build flatpak
- name: Prepearing enviornment
run: |
git submodule init
git submodule update
sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt-get update
sudo apt install flatpak flatpak-builder p7zip-full
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08
# Runs a set of commands using the runners shell
- name: Building flatpak
run: |
sudo ./build-flatpak.sh
sudo flatpak-builder --user --install --force-clean retrodeck-flatpak com.xargon.retrodeck.yml
sudo flatpak-builder --repo=local --force-clean localrepo com.xargon.retrodeck.yml
sudo flatpak build-bundle local RetroDECK.flatpak com.xargon.retrodeck
- name: Get date for artifacts
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M')"
- name: Publish the flatpak in a new cooker release
uses: ncipollo/release-action@v1
with:
tag: "${{ steps.date.outputs.date }}"
body: |
# Release Notes
Changelog:
-
-
-
artifacts: "RetroDECK.flatpak"
allowUpdates: true
prerelease: true
draft: true
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
repo: RetroDECK

View file

@ -2,7 +2,7 @@
**RetroDECK** brings an enviornment to catalog and play your retro games directly from SteamOS and it's tailored specifically for the **Steam Deck**.
It's inspired from embedded emulation systems like 351ELEC, EmuELEC, CoreELEC, Lakka, and Batocera.
It's inspired from embedded emulation systems like AmberELEC, EmuELEC, CoreELEC, Lakka, and Batocera.
Powered by [EmulationStation Desktop Edition](https://es-de.org), RetroArch and standalone emulators allows you to import your favorite retro (but even not-so-retro) games in a tidy enviornment without flooding your Steam library.
@ -10,7 +10,7 @@ Powered by [EmulationStation Desktop Edition](https://es-de.org), RetroArch and
Means that all the configurations are ready and tweaked to get the best graphics and perfomances on the Deck itself without having the hassle to choose, install and congifure tons of emulators: just put your games in the roms folder, provide your own bioses and you can start your games.
**Do I have to partition my disk to install it?**\
No, no partitioning or format is required: RetroDECK, diffrentely from 351ELEC, Batocera & co. comes as a flatpak: just install it as any other application and launch it from your desktop or Steam library.
No, no partitioning or format is required: RetroDECK, diffrentely from AmberELEC, Batocera & co. comes as a flatpak: just install it as any other application and launch it from your desktop or Steam library.
**Is it available on Windows?**\
No, I don't support Windows, but the project is fully opensource so you can port it if you wish.
@ -19,10 +19,6 @@ No, I don't support Windows, but the project is fully opensource so you can port
Of course, any help is appreciated.
If you want to build the RetroDECK flatpak on your machine for developing or just testing purposes:
```
git clone --recursive https://github.com/XargonWan/RetroDECK.git
cd RetroDECK
./build-retrodeck.sh
```
***Coming soon***
Join our [Discord](https://discord.gg/Dz3szYsP8g)!