Skip to content
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
ca3bab3
fix typo
360sym Oct 31, 2022
447a009
Merge pull request #466 from bananaman2020/patch-1
ReenigneArcher Nov 1, 2022
bea78dd
Fix credentials command typo in docs
CrazyStevenz Nov 1, 2022
b310436
Merge pull request #469 from CrazyStevenz/patch-1
ReenigneArcher Nov 2, 2022
6a2a485
Bump babel from 2.10.3 to 2.11.0
dependabot[bot] Nov 2, 2022
cf2de6e
Merge pull request #470 from LizardByte/dependabot/pip/nightly/babel-…
ReenigneArcher Nov 2, 2022
89a0109
fix winget release
ReenigneArcher Nov 2, 2022
92f5c49
Merge pull request #472 from LizardByte/fix/CI-winget-releaser
ReenigneArcher Nov 2, 2022
0bdb887
add linux/arm64/v8 docker platform
ReenigneArcher Nov 2, 2022
4190667
Merge pull request #473 from LizardByte/add/docker-platform-arm64
ReenigneArcher Nov 2, 2022
e924e2e
Bump sphinx-copybutton from 0.5.0 to 0.5.1
dependabot[bot] Nov 16, 2022
66615a0
Merge pull request #500 from LizardByte/dependabot/pip/nightly/sphinx…
ReenigneArcher Nov 16, 2022
01b8ba3
Cover Finder (#216)
Nov 18, 2022
390c664
Bump KSXGitHub/github-actions-deploy-aur from 2.5.0 to 2.6.0
dependabot[bot] Nov 18, 2022
4a924ac
Merge pull request #498 from LizardByte/dependabot/github_actions/nig…
ReenigneArcher Nov 18, 2022
8132c82
ci: update global workflows (#501)
LizardByte-bot Nov 18, 2022
4cbf8c0
ci: update global docker (#502)
LizardByte-bot Nov 18, 2022
9af770e
ci: update global workflows (#505)
LizardByte-bot Nov 18, 2022
4c1371a
Add install scripts (Flatpak) (#471)
istori1 Nov 18, 2022
981d878
use npm dependencies
ReenigneArcher Nov 18, 2022
67a569c
Merge branch 'nightly' into update/use-npm-dependencies
ReenigneArcher Nov 19, 2022
f0cfc4a
update build instructions
ReenigneArcher Nov 19, 2022
fbd6807
Merge pull request #504 from LizardByte/update/use-npm-dependencies
ReenigneArcher Nov 20, 2022
d912cce
Update moonlight-common-c to pick up new input structures
cgutman Nov 23, 2022
e39d9bc
Add support for Unicode input messages on Windows
cgutman Nov 23, 2022
5ed17fb
Merge pull request #511 from cgutman/utf8_events
ReenigneArcher Dec 8, 2022
7648496
CMake: win32: fix linker errors with mingw boost 1.80.0-2
psyke83 Dec 7, 2022
97716fa
fix aur build
ReenigneArcher Dec 3, 2022
ed5ee24
Merge pull request #530 from psyke83/restrict_boost_ver
ReenigneArcher Dec 10, 2022
dbe56ee
ci: update global cpp (#533)
LizardByte-bot Dec 10, 2022
a6e47ff
ci: update global workflows (#532)
LizardByte-bot Dec 10, 2022
a7b19f4
ci: update release notifier (#534)
LizardByte-bot Dec 10, 2022
e8aa749
Sunshine prebuilts (#510)
brad-richardson Dec 11, 2022
84fdc7e
change linux build matrix (#468)
ReenigneArcher Dec 12, 2022
6f36939
Bump furo from 2022.9.29 to 2022.12.7 (#531)
dependabot[bot] Dec 12, 2022
c60ebb7
ci: update global workflows (#547)
LizardByte-bot Dec 13, 2022
5b239c1
prepare v0.16.0
ReenigneArcher Dec 13, 2022
fe1321f
Merge pull request #548 from LizardByte/prepare/v0.16.0
ReenigneArcher Dec 13, 2022
37c0f79
CMake: Linux: use standard FreeDesktop udev/systemd paths (#550)
psyke83 Dec 14, 2022
8c8a7bb
update ffmpeg submodules (#552)
ReenigneArcher Dec 14, 2022
12f1ec6
update issue template (#554)
ReenigneArcher Dec 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .docker_platforms
Original file line number Diff line number Diff line change
@@ -1 +1 @@
linux/amd64
linux/amd64,linux/arm64/v8
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,11 @@ updates:
time: "00:00"
target-branch: "nightly"
open-pull-requests-limit: 10

- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
time: "00:00"
target-branch: "nightly"
open-pull-requests-limit: 10
6 changes: 5 additions & 1 deletion .github/pr_release_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ This PR was created automatically.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Dependency update (updates to dependencies)
- [ ] Documentation update (changes to documentation)
- [ ] Repository update (changes to repository files)
- [ ] Repository update (changes to repository files, e.g. `.github/...`)

## Branch Updates
- [x] I want maintainers to keep my branch updated

## Changelog Summary
<!--- Summarize all the changes in a bulleted list. --->
37 changes: 28 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ jobs:
mv ./build/PKGBUILD ./artifacts/

- name: Validate package
uses: hapakaien/archlinux-package-action@v2.2.0
uses: LizardByte/archlinux-package-action@master
with:
path: artifacts
flags: '--syncdeps --noconfirm'
Expand All @@ -234,7 +234,7 @@ jobs:

- name: Publish AUR package
if: ${{ env.aur_publish == 'true' }}
uses: KSXGitHub/github-actions-deploy-aur@v2.5.0
uses: KSXGitHub/github-actions-deploy-aur@v2.6.0
with:
pkgname: ${{ env.aur_pkg }}
pkgbuild: ./artifacts/PKGBUILD
Expand All @@ -260,17 +260,21 @@ jobs:

- name: Setup Dependencies Linux Flatpak
run: |
PLATFORM_VERSION=21.08

sudo apt-get update -y
sudo apt-get install -y \
cmake \
qemu-user-static \
flatpak
sudo su $(whoami) -c 'flatpak --user remote-add --if-not-exists flathub \
https://flathub.org/repo/flathub.flatpakrepo'
sudo su $(whoami) -c 'flatpak --user install -y flathub \
sudo su $(whoami) -c "flatpak --user remote-add --if-not-exists flathub \
https://flathub.org/repo/flathub.flatpakrepo"
sudo su $(whoami) -c "flatpak --user install -y flathub \
org.flatpak.Builder \
org.freedesktop.Platform/${{ matrix.arch }}/21.08 \
org.freedesktop.Sdk/${{ matrix.arch }}/21.08'
org.freedesktop.Platform/${{ matrix.arch }}/${PLATFORM_VERSION} \
org.freedesktop.Sdk/${{ matrix.arch }}/${PLATFORM_VERSION} \
org.freedesktop.Sdk.Extension.node18/${{ matrix.arch }}/${PLATFORM_VERSION} \
"

- name: Cache Flatpak build
uses: actions/cache@v3
Expand Down Expand Up @@ -383,6 +387,7 @@ jobs:
libboost-log-dev \
libboost-thread-dev \
libcap-dev \
libcurl4-openssl-dev \
libdrm-dev \
libevdev-dev \
libpulse-dev \
Expand Down Expand Up @@ -437,6 +442,10 @@ jobs:
mkdir -p build
mkdir -p artifacts

pushd "./src_assets/common/assets/web"
npm install
popd

cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
Expand Down Expand Up @@ -548,13 +557,17 @@ jobs:
- name: Setup Dependencies MacOS
run: |
# install dependencies using homebrew
brew install boost cmake ffmpeg opus
brew install boost cmake curl ffmpeg node opus

# fix openssl header not found
ln -sf /usr/local/opt/openssl/include/openssl /usr/local/include/openssl

- name: Build MacOS
run: |
pushd "./src_assets/common/assets/web"
npm install
popd

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -846,6 +859,7 @@ jobs:
mingw-w64-x86_64-binutils
mingw-w64-x86_64-boost
mingw-w64-x86_64-cmake
mingw-w64-x86_64-curl
mingw-w64-x86_64-nsis
mingw-w64-x86_64-openssl
mingw-w64-x86_64-opus
Expand All @@ -854,6 +868,11 @@ jobs:
nasm
yasm

- name: Install npm packages
working-directory: src_assets/common/assets/web
run: |
npm install

- name: Build Windows
shell: msys2 {0}
run: |
Expand Down Expand Up @@ -901,7 +920,7 @@ jobs:

release-winget:
name: Release to WinGet
needs: build_win
needs: [setup_release, build_win]
if: ${{ needs.setup_release.outputs.create_release == 'true' && github.ref == 'refs/heads/master' }}
runs-on: windows-latest # the required action can only be run on Windows
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/auto-create-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
create_pr:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest

steps:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ on:

jobs:
autoapprove:
if: >
if: >-
contains(fromJson('["LizardByte-bot"]'), github.event.pull_request.user.login) &&
contains(fromJson('["LizardByte-bot"]'), github.actor)
contains(fromJson('["LizardByte-bot"]'), github.actor) &&
startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: Autoapproving
Expand All @@ -36,6 +37,7 @@ jobs:
})

automerge:
if: startsWith(github.repository, 'LizardByte/')
needs: [autoapprove]
runs-on: ubuntu-latest
concurrency:
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/autoupdate-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
# 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: Label PR autoupdate

on:
pull_request:
types:
- edited
- opened

jobs:
label_pr:
if: >-
startsWith(github.repository, 'LizardByte/') &&
contains(github.event.pull_request.body, fromJSON('"] I want maintainers to keep my branch updated\r"'))
runs-on: ubuntu-latest
steps:
- name: Label autoupdate
if: >-
contains(github.event.pull_request.body,
fromJSON('"\n- [x] I want maintainers to keep my branch updated\r"')) == true
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GH_BOT_TOKEN }}
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['autoupdate']
})

- name: Unlabel autoupdate
if: >-
contains(github.event.pull_request.body,
fromJSON('"\n- [x] I want maintainers to keep my branch updated\r"')) == false &&
contains(github.event.pull_request.labels.*.name, 'autoupdate')
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GH_BOT_TOKEN }}
script: |
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: ['autoupdate']
})
17 changes: 14 additions & 3 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,27 @@ on:
- 'nightly'

jobs:
autoupdate-for-bot:
autoupdate:
name: Autoupdate autoapproved PR created in the upstream
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: Update
uses: docker://chinthakagodawita/autoupdate-action:v1
env:
EXCLUDED_LABELS: "central_dependency,dependencies"
GITHUB_TOKEN: '${{ secrets.GH_BOT_TOKEN }}'
PR_FILTER: "labelled"
PR_LABELS: "autoupdate"
PR_READY_STATE: "ready_for_review"
MERGE_CONFLICT_ACTION: "ignore"
PR_READY_STATE: "all"
MERGE_CONFLICT_ACTION: "fail"

dependabot-rebase:
name: Dependabot Rebase
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: rebase
uses: "bbeesley/gha-auto-dependabot-rebase@v1.2.0"
env:
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Hadolint
id: hadolint
uses: hadolint/hadolint-action@v2.1.0
uses: hadolint/hadolint-action@v3.0.0
with:
dockerfile: ./Dockerfile
ignore: DL3008,DL3013,DL3016,DL3018,DL3028,DL3059
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cpp-clang-format-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/checkout@v3

- name: Clang format lint
uses: DoozyX/clang-format-lint-action@v0.14
uses: DoozyX/clang-format-lint-action@v0.15
with:
source: './src'
extensions: 'cpp,h,m,mm'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/issues-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
stale:
name: Check Stale Issues / PRs
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: Stale
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ on:
jobs:
label:
name: Label Actions
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: Label Actions
uses: dessant/label-actions@v2
uses: dessant/label-actions@v3
with:
github-token: ${{ secrets.GH_BOT_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
check-pull-request:
name: Check Pull Request
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- uses: Vankka/pr-target-branch-action@v2
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
discord:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: discord
Expand All @@ -27,6 +28,7 @@ jobs:
color: 0xFF4500

facebook_group:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: facebook-post-action
Expand All @@ -40,6 +42,7 @@ jobs:
url: ${{ github.event.release.html_url }}

facebook_page:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: facebook-post-action
Expand All @@ -53,10 +56,11 @@ jobs:
url: ${{ github.event.release.html_url }}

reddit:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: reddit
uses: bluwy/release-for-reddit-action@v1 # https://github.com/bluwy/release-for-reddit-action
uses: bluwy/release-for-reddit-action@v2 # https://github.com/bluwy/release-for-reddit-action
with:
username: ${{ secrets.REDDIT_USERNAME }}
password: ${{ secrets.REDDIT_PASSWORD }}
Expand All @@ -69,6 +73,7 @@ jobs:
comment: ${{ github.event.release.body }}

twitter:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: twitter
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@ jobs:
file_or_dir: . ${{ steps.find-files.outputs.found }}

- name: Log
if: failure()
run: |
cat "${{ steps.yaml-lint.outputs.logfile }}" >> $GITHUB_STEP_SUMMARY
12 changes: 3 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@ cmake-build*
.cache
.idea

# Extra FontAwesome files
/src_assets/common/assets/web/fonts/fontawesome-free-web/css/*.css
!/src_assets/common/assets/web/fonts/fontawesome-free-web/css/*min.css
/src_assets/common/assets/web/fonts/fontawesome-free-web/js/
/src_assets/common/assets/web/fonts/fontawesome-free-web/less/
/src_assets/common/assets/web/fonts/fontawesome-free-web/metadata/
/src_assets/common/assets/web/fonts/fontawesome-free-web/scss/
/src_assets/common/assets/web/fonts/fontawesome-free-web/sprites/
/src_assets/common/assets/web/fonts/fontawesome-free-web/svgs/
# npm
node_modules/
package-lock.json

# Translations
*.mo
Expand Down
Loading