Désactivation des .desktop j'ai la flemme de corriger et ça sert pas … #67
Workflow file for this run
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
--- | |
name: "Tagged Release" | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build-linux: | |
name: Linux Tagged Release Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dependencies | |
run: | | |
sudo apt update -qq | |
sudo apt install build-essential cmake ninja-build zip unzip libsdl2-dev | |
- name: SeriousProton Checkout | |
uses: actions/checkout@v2 | |
with: | |
repository: tsht/SeriousProton | |
path: SeriousProton | |
- name: EmptyEpsilon Checkout | |
uses: actions/checkout@v2 | |
with: | |
path: EmptyEpsilon | |
- name: Build | |
run: | | |
mkdir -p _build_linux | |
cd _build_linux | |
cmake ../EmptyEpsilon -G Ninja -DSERIOUS_PROTON_DIR=../SeriousProton | |
ninja package | |
cd .. | |
- name: Upload Linux build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: linux-build | |
path: _build_linux/*.deb | |
build-windows: | |
name: Windows (Cross-Compile) Tagged Release Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dependencies | |
run: | | |
sudo apt update -qq | |
sudo apt install build-essential cmake python3-minimal mingw-w64 ninja-build p7zip-full | |
- name: SeriousProton Checkout | |
uses: actions/checkout@v2 | |
with: | |
repository: tsht/SeriousProton | |
path: SeriousProton | |
- name: EmptyEpsilon Checkout | |
uses: actions/checkout@v2 | |
with: | |
path: EmptyEpsilon | |
- name: Build | |
run: | | |
mkdir -p _build_win32 | |
cd _build_win32 | |
cmake ../EmptyEpsilon -G Ninja -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_TOOLCHAIN_FILE=../EmptyEpsilon/cmake/mingw.toolchain -DSERIOUS_PROTON_DIR=../SeriousProton | |
ninja package | |
cd .. | |
- name: Upload Win build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-build | |
path: _build_win32/*.zip | |
tagged-release-update: | |
name: "Tagged Release" | |
runs-on: ubuntu-latest | |
needs: [build-linux, build-windows] | |
steps: | |
- uses: actions/download-artifact@v4 | |
name: Download Linux build | |
with: | |
name: linux-build | |
- uses: actions/download-artifact@v4 | |
name: Download Windows build | |
with: | |
name: windows-build | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
files: | | |
*.zip | |
*.deb | |
- uses: geekyeggo/delete-artifact@v2 | |
name: Delete Linux build | |
with: | |
name: linux-build | |
failOnError: false | |
- uses: geekyeggo/delete-artifact@v2 | |
name: Delete Windows build | |
with: | |
name: windows-build | |
failOnError: false | |