Skip to content

Commit

Permalink
Merge branch 'nightly' of https://github.com/xanderfrangos/Sunshine i…
Browse files Browse the repository at this point in the history
…nto nightly
  • Loading branch information
xanderfrangos committed Apr 17, 2024
2 parents 2511bd0 + ec8170c commit 9c68a62
Show file tree
Hide file tree
Showing 203 changed files with 12,178 additions and 3,383 deletions.
10 changes: 10 additions & 0 deletions .codeql-prebuild-cpp.sh → .codeql-prebuild-cpp-Linux.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# install dependencies for C++ analysis
set -e

sudo apt-get update -y
sudo apt-get install -y \
Expand Down Expand Up @@ -54,3 +55,12 @@ sudo wget \
sudo chmod a+x /root/cuda.run
sudo /root/cuda.run --silent --toolkit --toolkitpath=/usr --no-opengl-libs --no-man-page --no-drm
sudo rm /root/cuda.run

# build
mkdir -p build
cd build || exit 1
cmake -G "Unix Makefiles" ..
make -j"$(nproc)"

# skip autobuild
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
34 changes: 34 additions & 0 deletions .codeql-prebuild-cpp-Windows.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# install dependencies for C++ analysis
set -e

# update pacman
pacman --noconfirm -Suy

# install dependencies
pacman --noconfirm -S \
base-devel \
diffutils \
gcc \
git \
make \
mingw-w64-x86_64-binutils \
mingw-w64-x86_64-boost \
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-curl \
mingw-w64-x86_64-miniupnpc \
mingw-w64-x86_64-nlohmann-json \
mingw-w64-x86_64-nodejs \
mingw-w64-x86_64-onevpl \
mingw-w64-x86_64-openssl \
mingw-w64-x86_64-opus \
mingw-w64-x86_64-rust \
mingw-w64-x86_64-toolchain

# build
mkdir -p build
cd build || exit 1
cmake -G "MinGW Makefiles" ..
mingw32-make -j"$(nproc)"

# skip autobuild
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
20 changes: 20 additions & 0 deletions .codeql-prebuild-cpp-macOS.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# install dependencies for C++ analysis
set -e

# install dependencies
brew install \
boost \
cmake \
miniupnpc \
node \
opus \
pkg-config

# build
mkdir -p build
cd build || exit 1
cmake -G "Unix Makefiles" ..
make -j"$(sysctl -n hw.logicalcpu)"

# skip autobuild
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
6 changes: 5 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@
# do not ignore .git, needed for versioning
!/.git

# do not ignore .rstcheck.cfg, needed to test building docs
!/.rstcheck.cfg

# ignore repo directories and files
docs/
docker/
gh-pages-template/
scripts/
tools/
crowdin.yml

# ignore dev directories
build/
cmake-*/
venv/

# ignore artifacts
Expand Down
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ensure dockerfiles are checked out with LF line endings
Dockerfile text eol=lf
*.dockerfile text eol=lf
Loading

0 comments on commit 9c68a62

Please sign in to comment.