mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-30 09:35:40 +00:00
New workflow: different approach
This commit is contained in:
parent
3002d539b3
commit
acf13bb4f4
58
.github/workflows/cooker.yml
vendored
58
.github/workflows/cooker.yml
vendored
|
@ -17,27 +17,27 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
Job1_-_Prepearing_enviornment:
|
# Job1_-_Prepearing_enviornment:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
- name: Prepearing enviornment
|
# - name: Prepearing enviornment
|
||||||
run: |
|
# run: |
|
||||||
git submodule init
|
# git submodule init
|
||||||
git submodule update
|
# git submodule update
|
||||||
sudo add-apt-repository ppa:alexlarsson/flatpak
|
# sudo add-apt-repository ppa:alexlarsson/flatpak
|
||||||
sudo apt-get update
|
# sudo apt-get update
|
||||||
sudo apt install flatpak flatpak-builder p7zip-full
|
# sudo apt install flatpak flatpak-builder p7zip-full
|
||||||
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
# 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 org.freedesktop.Sdk.Extension.llvm13
|
# 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 org.freedesktop.Sdk.Extension.llvm13
|
||||||
|
|
||||||
- name: cache-cooker
|
# - name: cache-cooker
|
||||||
id: cache-cooker
|
# id: cache-cooker
|
||||||
uses: actions/cache@v2
|
# uses: actions/cache@v2
|
||||||
with:
|
# with:
|
||||||
path: /
|
# path: ./*flatpak*
|
||||||
key: ${{ runner.os }}-cache
|
# key: ${{ runner.os }}-cache
|
||||||
|
|
||||||
Job2_-_Downloading_Sources:
|
Job2_-_Downloading_Sources:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -46,13 +46,20 @@ jobs:
|
||||||
- name: Downloading sources
|
- name: Downloading sources
|
||||||
if: steps.cache-cooker.outputs.cache-hit != 'true'
|
if: steps.cache-cooker.outputs.cache-hit != 'true'
|
||||||
run: |
|
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 org.freedesktop.Sdk.Extension.llvm13
|
||||||
sudo flatpak-builder --download-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
sudo flatpak-builder --download-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
- name: cache-cooker
|
- name: cache-cooker
|
||||||
id: cache-cooker
|
id: cache-cooker
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /
|
path: ./*flatpak*
|
||||||
key: ${{ runner.os }}-cache
|
key: ${{ runner.os }}-cache
|
||||||
|
|
||||||
Job3_-_Building_part_1:
|
Job3_-_Building_part_1:
|
||||||
|
@ -62,13 +69,20 @@ jobs:
|
||||||
- name: Bulding part 1 - Until RetroArch Cores
|
- name: Bulding part 1 - Until RetroArch Cores
|
||||||
if: steps.cache-cooker.outputs.cache-hit != 'true'
|
if: steps.cache-cooker.outputs.cache-hit != 'true'
|
||||||
run: |
|
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 org.freedesktop.Sdk.Extension.llvm13
|
||||||
sudo flatpak-builder --build-only --stop-at=retroarch-cores --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
sudo flatpak-builder --build-only --stop-at=retroarch-cores --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
- name: cache-cooker
|
- name: cache-cooker
|
||||||
id: cache-cooker
|
id: cache-cooker
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /
|
path: ./*flatpak*
|
||||||
key: ${{ runner.os }}-cache
|
key: ${{ runner.os }}-cache
|
||||||
|
|
||||||
Job4_-_Building_part_2:
|
Job4_-_Building_part_2:
|
||||||
|
|
Loading…
Reference in a new issue