fix yaml-lint errors
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
name: Bug Report
|
name: Bug Report
|
||||||
description: Create a bug report to help us improve.
|
description: Create a bug report to help us improve.
|
||||||
body:
|
body:
|
||||||
@@ -5,7 +6,7 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
value: >
|
value: >
|
||||||
**THIS IS NOT THE PLACE TO ASK FOR SUPPORT!**
|
**THIS IS NOT THE PLACE TO ASK FOR SUPPORT!**
|
||||||
Please use [Discord](https://docs.lizardbyte.dev/about/support.html#discord) for support issues.
|
Please use [Discord](https://docs.lizardbyte.dev/en/latest/about/support.html#discord) for support issues.
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
@@ -90,9 +91,12 @@ body:
|
|||||||
id: logs
|
id: logs
|
||||||
attributes:
|
attributes:
|
||||||
label: Relevant log output
|
label: Relevant log output
|
||||||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
|
description: |
|
||||||
|
Please copy and paste any relevant log output. This will be automatically formatted into code,
|
||||||
|
so no need for backticks.
|
||||||
render: Shell
|
render: Shell
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Make sure to close your issue when it's solved! If you found the solution yourself please comment so that others benefit from it.
|
Make sure to close your issue when it's solved! If you found the solution yourself please comment
|
||||||
|
so that others benefit from it.
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
# This action is centrally managed in https://github.com/<organization>/.github/
|
# This action is centrally managed in https://github.com/<organization>/.github/
|
||||||
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
||||||
# the above-mentioned repo.
|
# the above-mentioned repo.
|
||||||
|
|||||||
+69
-30
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -52,7 +53,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Check CMakeLists.txt Version
|
- name: Check CMakeLists.txt Version
|
||||||
run: |
|
run: |
|
||||||
version=$(grep -o -E '^project\(Sunshine VERSION [0-9]+\.[0-9]+\.[0-9]+' CMakeLists.txt | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
|
version=$(grep -o -E '^project\(Sunshine VERSION [0-9]+\.[0-9]+\.[0-9]+' CMakeLists.txt | \
|
||||||
|
grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
|
||||||
echo "cmakelists_version=${version}" >> $GITHUB_ENV
|
echo "cmakelists_version=${version}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Compare CMakeList.txt Version
|
- name: Compare CMakeList.txt Version
|
||||||
@@ -60,7 +62,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo CMakeLists version: "$cmakelists_version"
|
echo CMakeLists version: "$cmakelists_version"
|
||||||
echo Changelog version: "${{ needs.check_changelog.outputs.next_version_bare }}"
|
echo Changelog version: "${{ needs.check_changelog.outputs.next_version_bare }}"
|
||||||
echo Within 'CMakeLists.txt' change "project(Sunshine [VERSION $cmakelists_version]" to "project(Sunshine [VERSION ${{ needs.check_changelog.outputs.next_version_bare }}]"
|
echo Within 'CMakeLists.txt' change "project(Sunshine [VERSION $cmakelists_version]" to \
|
||||||
|
"project(Sunshine [VERSION ${{ needs.check_changelog.outputs.next_version_bare }}]"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
build_linux_aur:
|
build_linux_aur:
|
||||||
@@ -124,7 +127,15 @@ jobs:
|
|||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
cmake -DSUNSHINE_CONFIGURE_AUR=ON -DSUNSHINE_AUR_PKG=${aur_pkg} -DSUNSHINE_SUB_VERSION=${sub_version} -DSUNSHINE_AUR_CONFLICTS=${conflicts} -DSUNSHINE_AUR_PROVIDES=${provides} -DGITHUB_CLONE_URL=${clone_url} -DGITHUB_COMMIT=${commit} -DSUNSHINE_CONFIGURE_ONLY=ON ..
|
cmake -DSUNSHINE_CONFIGURE_AUR=ON \
|
||||||
|
-DSUNSHINE_AUR_PKG=${aur_pkg} \
|
||||||
|
-DSUNSHINE_SUB_VERSION=${sub_version} \
|
||||||
|
-DSUNSHINE_AUR_CONFLICTS=${conflicts} \
|
||||||
|
-DSUNSHINE_AUR_PROVIDES=${provides} \
|
||||||
|
-DGITHUB_CLONE_URL=${clone_url} \
|
||||||
|
-DGITHUB_COMMIT=${commit} \
|
||||||
|
-DSUNSHINE_CONFIGURE_ONLY=ON \
|
||||||
|
..
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
mv ./build/PKGBUILD ./artifacts/
|
mv ./build/PKGBUILD ./artifacts/
|
||||||
@@ -174,8 +185,10 @@ jobs:
|
|||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
cmake \
|
cmake \
|
||||||
flatpak
|
flatpak
|
||||||
sudo su $(whoami) -c 'flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo'
|
sudo su $(whoami) -c 'flatpak remote-add --user --if-not-exists flathub \
|
||||||
sudo su $(whoami) -c 'flatpak install --user flathub org.flatpak.Builder org.freedesktop.Platform//21.08 org.freedesktop.Sdk//21.08 -y'
|
https://flathub.org/repo/flathub.flatpakrepo'
|
||||||
|
sudo su $(whoami) -c 'flatpak install --user flathub \
|
||||||
|
org.flatpak.Builder org.freedesktop.Platform//21.08 org.freedesktop.Sdk//21.08 -y'
|
||||||
|
|
||||||
- name: Configure Flatpak Manifest
|
- name: Configure Flatpak Manifest
|
||||||
run: |
|
run: |
|
||||||
@@ -202,12 +215,18 @@ jobs:
|
|||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
cmake -DGITHUB_CLONE_URL=${clone_url} -DGITHUB_BRANCH=${branch} -DGITHUB_COMMIT=${commit} -DSUNSHINE_CONFIGURE_FLATPAK=ON -DSUNSHINE_CONFIGURE_ONLY=ON ..
|
cmake -DGITHUB_CLONE_URL=${clone_url} \
|
||||||
|
-DGITHUB_BRANCH=${branch} \
|
||||||
|
-DGITHUB_COMMIT=${commit} \
|
||||||
|
-DSUNSHINE_CONFIGURE_FLATPAK=ON \
|
||||||
|
-DSUNSHINE_CONFIGURE_ONLY=ON \
|
||||||
|
..
|
||||||
|
|
||||||
- name: Build Linux Flatpak
|
- name: Build Linux Flatpak
|
||||||
working-directory: build
|
working-directory: build
|
||||||
run: |
|
run: |
|
||||||
sudo su $(whoami) -c 'flatpak run org.flatpak.Builder --repo=repo --force-clean build-sunshine dev.lizardbyte.sunshine.yml'
|
sudo su $(whoami) -c 'flatpak run org.flatpak.Builder --repo=repo --force-clean build-sunshine \
|
||||||
|
dev.lizardbyte.sunshine.yml'
|
||||||
sudo su $(whoami) -c 'flatpak build-bundle ./repo ../artifacts/sunshine.flatpak dev.lizardbyte.sunshine'
|
sudo su $(whoami) -c 'flatpak build-bundle ./repo ../artifacts/sunshine.flatpak dev.lizardbyte.sunshine'
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
@@ -298,10 +317,13 @@ jobs:
|
|||||||
sudo rm -rf /var/lib/apt/lists/*
|
sudo rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Update gcc alias
|
# Update gcc alias
|
||||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
|
sudo update-alternatives --install \
|
||||||
|
/usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
|
||||||
|
|
||||||
# Install CuDA
|
# Install CuDA
|
||||||
sudo wget https://developer.download.nvidia.com/compute/cuda/11.4.2/local_installers/cuda_11.4.2_470.57.02_linux.run --progress=bar:force:noscroll -q --show-progress -O /root/cuda.run
|
sudo wget \
|
||||||
|
https://developer.download.nvidia.com/compute/cuda/11.4.2/local_installers/cuda_11.4.2_470.57.02_linux.run \
|
||||||
|
--progress=bar:force:noscroll -q --show-progress -O /root/cuda.run
|
||||||
sudo chmod a+x /root/cuda.run
|
sudo chmod a+x /root/cuda.run
|
||||||
sudo /root/cuda.run --silent --toolkit --toolkitpath=/usr --no-opengl-libs --no-man-page --no-drm
|
sudo /root/cuda.run --silent --toolkit --toolkitpath=/usr --no-opengl-libs --no-man-page --no-drm
|
||||||
sudo rm /root/cuda.run
|
sudo rm /root/cuda.run
|
||||||
@@ -320,7 +342,17 @@ jobs:
|
|||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{ matrix.CMAKE_INSTALL_PREFIX }} -DSUNSHINE_ASSETS_DIR=${{ matrix.SUNSHINE_ASSETS_DIR }} -DSUNSHINE_CONFIG_DIR=${{ matrix.SUNSHINE_CONFIG_DIR }} -DSUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine -DSUNSHINE_ENABLE_WAYLAND=ON -DSUNSHINE_ENABLE_X11=ON -DSUNSHINE_ENABLE_DRM=ON -DSUNSHINE_ENABLE_CUDA=ON ${{ matrix.EXTRA_ARGS }} ..
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${{ matrix.CMAKE_INSTALL_PREFIX }} \
|
||||||
|
-DSUNSHINE_ASSETS_DIR=${{ matrix.SUNSHINE_ASSETS_DIR }} \
|
||||||
|
-DSUNSHINE_CONFIG_DIR=${{ matrix.SUNSHINE_CONFIG_DIR }} \
|
||||||
|
-DSUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine \
|
||||||
|
-DSUNSHINE_ENABLE_WAYLAND=ON \
|
||||||
|
-DSUNSHINE_ENABLE_X11=ON \
|
||||||
|
-DSUNSHINE_ENABLE_DRM=ON \
|
||||||
|
-DSUNSHINE_ENABLE_CUDA=ON \
|
||||||
|
${{ matrix.EXTRA_ARGS }} \
|
||||||
|
..
|
||||||
make -j ${nproc}
|
make -j ${nproc}
|
||||||
|
|
||||||
- name: Package Linux - CPACK
|
- name: Package Linux - CPACK
|
||||||
@@ -336,7 +368,7 @@ jobs:
|
|||||||
mv ./cpack_artifacts/Sunshine.rpm ../artifacts/sunshine.rpm
|
mv ./cpack_artifacts/Sunshine.rpm ../artifacts/sunshine.rpm
|
||||||
|
|
||||||
- name: Set AppImage Version
|
- name: Set AppImage Version
|
||||||
if: ${{ matrix.type == 'appimage' && ( needs.check_changelog.outputs.next_version_bare != needs.check_changelog.outputs.latest_version ) }}
|
if: ${{ matrix.type == 'appimage' && ( needs.check_changelog.outputs.next_version_bare != needs.check_changelog.outputs.latest_version ) }} # yamllint disable-line rule:line-length
|
||||||
run: |
|
run: |
|
||||||
version=${{ needs.check_changelog.outputs.next_version_bare }}
|
version=${{ needs.check_changelog.outputs.next_version_bare }}
|
||||||
echo "VERSION=${version}" >> $GITHUB_ENV
|
echo "VERSION=${version}" >> $GITHUB_ENV
|
||||||
@@ -352,7 +384,8 @@ jobs:
|
|||||||
# todo - this is ugly... we should use a custom AppRun script to take care of this
|
# todo - this is ugly... we should use a custom AppRun script to take care of this
|
||||||
mv ./AppDir${{ matrix.CMAKE_INSTALL_PREFIX }}/sunshine.AppImage.* ../artifacts/
|
mv ./AppDir${{ matrix.CMAKE_INSTALL_PREFIX }}/sunshine.AppImage.* ../artifacts/
|
||||||
mkdir -p ../artifacts/${{ matrix.SUNSHINE_CONFIG_DIR }}/.config/sunshine/${{ matrix.SUNSHINE_CONFIG_DIR }}
|
mkdir -p ../artifacts/${{ matrix.SUNSHINE_CONFIG_DIR }}/.config/sunshine/${{ matrix.SUNSHINE_CONFIG_DIR }}
|
||||||
cp ../artifacts/${{ matrix.SUNSHINE_CONFIG_DIR }}/apps.json ../artifacts/${{ matrix.SUNSHINE_CONFIG_DIR }}/.config/sunshine/${{ matrix.SUNSHINE_CONFIG_DIR }}/
|
cp ../artifacts/${{ matrix.SUNSHINE_CONFIG_DIR }}/apps.json \
|
||||||
|
../artifacts/${{ matrix.SUNSHINE_CONFIG_DIR }}/.config/sunshine/${{ matrix.SUNSHINE_CONFIG_DIR }}/
|
||||||
|
|
||||||
# variables
|
# variables
|
||||||
DESKTOP_FILE="${DESKTOP_FILE:-sunshine.desktop}"
|
DESKTOP_FILE="${DESKTOP_FILE:-sunshine.desktop}"
|
||||||
@@ -443,7 +476,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DSUNSHINE_ASSETS_DIR=local/sunshine/assets -DSUNSHINE_CONFIG_DIR=local/sunshine/config ..
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DSUNSHINE_ASSETS_DIR=local/sunshine/assets \
|
||||||
|
-DSUNSHINE_CONFIG_DIR=local/sunshine/config \
|
||||||
|
..
|
||||||
make -j ${nproc}
|
make -j ${nproc}
|
||||||
|
|
||||||
- name: Package MacOS
|
- name: Package MacOS
|
||||||
@@ -476,25 +513,20 @@ jobs:
|
|||||||
rm -f ./sunshine-macos-experimental-bundle.dmg
|
rm -f ./sunshine-macos-experimental-bundle.dmg
|
||||||
rm -f ./sunshine-macos-experimental-archive.zip
|
rm -f ./sunshine-macos-experimental-archive.zip
|
||||||
|
|
||||||
# no artifacts to release currently
|
## no artifacts to release currently
|
||||||
# - name: Create Release
|
# - name: Create Release
|
||||||
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
# uses: LizardByte/.github/actions/create_release@master
|
# uses: LizardByte/.github/actions/create_release@master
|
||||||
# with:
|
# with:
|
||||||
# token: ${{ secrets.GH_BOT_TOKEN }}
|
# token: ${{ secrets.GH_BOT_TOKEN }}
|
||||||
# next_version: ${{ needs.check_changelog.outputs.next_version }}
|
# next_version: ${{ needs.check_changelog.outputs.next_version }}
|
||||||
# last_version: ${{ needs.check_changelog.outputs.last_version }}
|
# last_version: ${{ needs.check_changelog.outputs.last_version }}
|
||||||
# release_body: ${{ needs.check_changelog.outputs.release_body }}
|
# release_body: ${{ needs.check_changelog.outputs.release_body }}
|
||||||
|
|
||||||
build_mac_port:
|
build_mac_port:
|
||||||
name: Macports
|
name: Macports
|
||||||
needs: check_changelog
|
needs: check_changelog
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
# runs-on: ${{ matrix.os }}
|
|
||||||
# strategy:
|
|
||||||
# fail-fast: false
|
|
||||||
# matrix:
|
|
||||||
# os: [ macos-10.15, macos-11, macos-12 ]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -539,8 +571,11 @@ jobs:
|
|||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DGITHUB_COMMIT=${commit} -DGITHUB_CLONE_URL=${clone_url} -DSUNSHINE_CONFIGURE_PORTFILE=ON -DSUNSHINE_CONFIGURE_ONLY=ON ..
|
cmake -DGITHUB_COMMIT=${commit} \
|
||||||
|
-DGITHUB_CLONE_URL=${clone_url} \
|
||||||
|
-DSUNSHINE_CONFIGURE_PORTFILE=ON \
|
||||||
|
-DSUNSHINE_CONFIGURE_ONLY=ON \
|
||||||
|
..
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# copy Portfile to artifacts
|
# copy Portfile to artifacts
|
||||||
@@ -733,7 +768,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DSUNSHINE_ASSETS_DIR=assets -DSUNSHINE_CONFIG_DIR=config -G "MinGW Makefiles" ..
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DSUNSHINE_ASSETS_DIR=assets \
|
||||||
|
-DSUNSHINE_CONFIG_DIR=config \
|
||||||
|
-G "MinGW Makefiles" \
|
||||||
|
..
|
||||||
mingw32-make -j2
|
mingw32-make -j2
|
||||||
|
|
||||||
- name: Package Windows
|
- name: Package Windows
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
name: clang-format-lint
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches: [master, nightly]
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
name: Clang Format Lint
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Clang format lint
|
|
||||||
uses: DoozyX/clang-format-lint-action@v0.14
|
|
||||||
with:
|
|
||||||
source: './sunshine'
|
|
||||||
extensions: 'cpp,h,m,mm'
|
|
||||||
clangFormatVersion: 13
|
|
||||||
style: file
|
|
||||||
inplace: false
|
|
||||||
|
|
||||||
- name: Upload Artifacts
|
|
||||||
if: failure()
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: sunshine
|
|
||||||
path: sunshine/
|
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
---
|
||||||
|
# This action is centrally managed in https://github.com/<organization>/.github/
|
||||||
|
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
||||||
|
# the above-mentioned repo.
|
||||||
|
|
||||||
|
name: Clang Format Lint
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [master, nightly]
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check_src:
|
||||||
|
name: Check src
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Check
|
||||||
|
id: check
|
||||||
|
run: |
|
||||||
|
if [ -d "./src" ]
|
||||||
|
then
|
||||||
|
FOUND=true
|
||||||
|
else
|
||||||
|
FOUND=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "::set-output name=src::${FOUND}"
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
src: ${{ steps.check.outputs.src }}
|
||||||
|
|
||||||
|
lint:
|
||||||
|
name: Clang Format Lint
|
||||||
|
needs: [check_src]
|
||||||
|
if: ${{ needs.check_src.outputs.src == 'true' }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Clang format lint
|
||||||
|
uses: DoozyX/clang-format-lint-action@v0.14
|
||||||
|
with:
|
||||||
|
source: './src'
|
||||||
|
extensions: 'cpp,h,m,mm'
|
||||||
|
clangFormatVersion: 13
|
||||||
|
style: file
|
||||||
|
inplace: false
|
||||||
|
|
||||||
|
- name: Upload Artifacts
|
||||||
|
if: failure()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: clang-format-fixes
|
||||||
|
path: src/
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
name: localize
|
name: localize
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -67,7 +68,8 @@ jobs:
|
|||||||
|
|
||||||
- name: git reset
|
- name: git reset
|
||||||
# only run if a single line changed (date/time) and file already existed
|
# only run if a single line changed (date/time) and file already existed
|
||||||
if: ${{ env.git_diff == '1 1 locale/sunshine.po' && env.new_file == 'false' }}
|
# \t in next line is a tab character
|
||||||
|
if: ${{ env.git_diff == '1\t1\tlocale/sunshine.po' && env.new_file == 'false' }}
|
||||||
run: |
|
run: |
|
||||||
git reset --hard
|
git reset --hard
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
# This action is centrally managed in https://github.com/<organization>/.github/
|
# This action is centrally managed in https://github.com/<organization>/.github/
|
||||||
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
||||||
# the above-mentioned repo.
|
# the above-mentioned repo.
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
# This action is centrally managed in https://github.com/<organization>/.github/
|
# This action is centrally managed in https://github.com/<organization>/.github/
|
||||||
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
||||||
# the above-mentioned repo.
|
# the above-mentioned repo.
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
name: Publish to WinGet
|
name: Publish to WinGet
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -5,10 +6,12 @@ on:
|
|||||||
types: [released]
|
types: [released]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
winget-releaser:
|
||||||
|
name: winget releaser
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: vedantmgoyal2009/winget-releaser@latest
|
- name: winget releaser
|
||||||
|
uses: vedantmgoyal2009/winget-releaser@latest
|
||||||
with:
|
with:
|
||||||
identifier: LizardByte.Sunshine
|
identifier: LizardByte.Sunshine
|
||||||
token: ${{ secrets.GH_BOT_TOKEN }}
|
token: ${{ secrets.GH_BOT_TOKEN }}
|
||||||
|
|||||||
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
# .readthedocs.yaml
|
# .readthedocs.yaml
|
||||||
# Read the Docs configuration file
|
# Read the Docs configuration file
|
||||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||||
@@ -25,7 +26,7 @@ build:
|
|||||||
# - cmake .
|
# - cmake .
|
||||||
|
|
||||||
## Include the submodules, required for cmake
|
## Include the submodules, required for cmake
|
||||||
#submodules:
|
# submodules:
|
||||||
# include: all
|
# include: all
|
||||||
# recursive: true
|
# recursive: true
|
||||||
|
|
||||||
|
|||||||
+4
-3
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
"base_path": "."
|
"base_path": "."
|
||||||
"base_url": "https://api.crowdin.com" # optional (for Crowdin Enterprise only)
|
"base_url": "https://api.crowdin.com" # optional (for Crowdin Enterprise only)
|
||||||
"preserve_hierarchy": false # flatten tree on crowdin
|
"preserve_hierarchy": false # flatten tree on crowdin
|
||||||
@@ -6,10 +7,10 @@
|
|||||||
"l10n"
|
"l10n"
|
||||||
]
|
]
|
||||||
|
|
||||||
"files" : [
|
"files": [
|
||||||
{
|
{
|
||||||
"source" : "/locale/*.po",
|
"source": "/locale/*.po",
|
||||||
"translation" : "/locale/%two_letters_code%/LC_MESSAGES/%original_file_name%",
|
"translation": "/locale/%two_letters_code%/LC_MESSAGES/%original_file_name%",
|
||||||
"languages_mapping": {
|
"languages_mapping": {
|
||||||
"two_letters_code": {
|
"two_letters_code": {
|
||||||
# map non-two letter codes here, left side is crowdin designation, right side is babel designation
|
# map non-two letter codes here, left side is crowdin designation, right side is babel designation
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
app-id: dev.lizardbyte.sunshine
|
app-id: dev.lizardbyte.sunshine
|
||||||
runtime: org.freedesktop.Platform
|
runtime: org.freedesktop.Platform
|
||||||
runtime-version: "21.08"
|
runtime-version: "21.08"
|
||||||
@@ -35,7 +36,7 @@ modules:
|
|||||||
- '*'
|
- '*'
|
||||||
build-commands:
|
build-commands:
|
||||||
- chmod u+x ./cuda.run
|
- chmod u+x ./cuda.run
|
||||||
- ./cuda.run --silent --toolkit --toolkitpath=$FLATPAK_DEST/cuda --no-opengl-libs --no-man-page --no-drm --tmpdir=$FLATPAK_BUILDER_BUILDDIR
|
- ./cuda.run --silent --toolkit --toolkitpath=$FLATPAK_DEST/cuda --no-opengl-libs --no-man-page --no-drm --tmpdir=$FLATPAK_BUILDER_BUILDDIR # yamllint disable-line rule:line-length
|
||||||
- rm -r $FLATPAK_DEST/cuda/nsight-systems-2021.3.2
|
- rm -r $FLATPAK_DEST/cuda/nsight-systems-2021.3.2
|
||||||
- rm ./cuda.run
|
- rm ./cuda.run
|
||||||
sources:
|
sources:
|
||||||
@@ -48,7 +49,7 @@ modules:
|
|||||||
- type: file
|
- type: file
|
||||||
only-arches:
|
only-arches:
|
||||||
- aarch64
|
- aarch64
|
||||||
url: https://developer.download.nvidia.com/compute/cuda/11.4.2/local_installers/cuda_11.4.2_470.57.02_linux_sbsa.run
|
url: https://developer.download.nvidia.com/compute/cuda/11.4.2/local_installers/cuda_11.4.2_470.57.02_linux_sbsa.run # yamllint disable-line rule:line-length
|
||||||
sha256: f2c4a52e06329606c8dfb7c5ea3f4cb4c0b28f9d3fdffeeb734fcc98daf580d8
|
sha256: f2c4a52e06329606c8dfb7c5ea3f4cb4c0b28f9d3fdffeeb734fcc98daf580d8
|
||||||
dest-filename: cuda.run
|
dest-filename: cuda.run
|
||||||
|
|
||||||
@@ -56,7 +57,7 @@ modules:
|
|||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- ./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=system,thread,log
|
- ./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=system,thread,log
|
||||||
- ./b2 install variant=release link=static,shared runtime-link=shared cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" -j $FLATPAK_BUILDER_N_JOBS
|
- ./b2 install variant=release link=static,shared runtime-link=shared cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" -j $FLATPAK_BUILDER_N_JOBS # yamllint disable-line rule:line-length
|
||||||
sources:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://boostorg.jfrog.io/artifactory/main/release/1.79.0/source/boost_1_79_0.tar.bz2
|
url: https://boostorg.jfrog.io/artifactory/main/release/1.79.0/source/boost_1_79_0.tar.bz2
|
||||||
@@ -170,7 +171,7 @@ modules:
|
|||||||
- /bin
|
- /bin
|
||||||
sources:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
|
url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz # yamllint disable-line rule:line-length
|
||||||
sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
|
sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
|
||||||
|
|
||||||
- name: libevdev
|
- name: libevdev
|
||||||
@@ -210,6 +211,6 @@ modules:
|
|||||||
- -DSUNSHINE_ENABLE_CUDA=ON
|
- -DSUNSHINE_ENABLE_CUDA=ON
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: @GITHUB_CLONE_URL@
|
url: '@GITHUB_CLONE_URL@'
|
||||||
branch: @GITHUB_BRANCH@
|
branch: '@GITHUB_BRANCH@'
|
||||||
commit: @GITHUB_COMMIT@
|
commit: '@GITHUB_COMMIT@'
|
||||||
|
|||||||
Reference in New Issue
Block a user