mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-16 14:09:43 +00:00
e90b71ce62
Some checks failed
CI / GitHub Env Debug (push) Waiting to run
CI / Setup Release (push) Waiting to run
CI / Setup Flatpak Matrix (push) Waiting to run
CI / Linux Flatpak (push) Blocked by required conditions
CI / Linux ${{ matrix.type }} (--appimage-build, 22.04, AppImage) (push) Blocked by required conditions
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (macos, 13) (push) Blocked by required conditions
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (macos, 14) (push) Blocked by required conditions
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (ubuntu, latest) (push) Blocked by required conditions
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (ubuntu, latest, true) (push) Blocked by required conditions
CI / Macports (macOS-${{ matrix.os_version }}) (13, true) (push) Blocked by required conditions
CI / Macports (macOS-${{ matrix.os_version }}) (14) (push) Blocked by required conditions
CI / Windows (push) Blocked by required conditions
CI Docker / Check Dockerfiles (push) Waiting to run
CI Docker / Setup Release (push) Blocked by required conditions
CI Docker / Docker${{ matrix.tag }} (push) Blocked by required conditions
CodeQL / Get language matrix (push) Waiting to run
CodeQL / Analyze (${{ matrix.name }}) (push) Blocked by required conditions
Build GH-Pages / update_pages (push) Waiting to run
localize / Update Localization (push) Has been cancelled
37 lines
779 B
Bash
37 lines
779 B
Bash
# install dependencies for C++ analysis
|
|
set -e
|
|
|
|
# update pacman
|
|
pacman --noconfirm -Syu
|
|
|
|
# install dependencies
|
|
dependencies=(
|
|
"git"
|
|
"mingw-w64-ucrt-x86_64-boost"
|
|
"mingw-w64-ucrt-x86_64-cmake"
|
|
"mingw-w64-ucrt-x86_64-cppwinrt"
|
|
"mingw-w64-ucrt-x86_64-curl-winssl"
|
|
"mingw-w64-ucrt-x86_64-miniupnpc"
|
|
"mingw-w64-ucrt-x86_64-nlohmann-json"
|
|
"mingw-w64-ucrt-x86_64-nodejs"
|
|
"mingw-w64-ucrt-x86_64-nsis"
|
|
"mingw-w64-ucrt-x86_64-onevpl"
|
|
"mingw-w64-ucrt-x86_64-openssl"
|
|
"mingw-w64-ucrt-x86_64-opus"
|
|
"mingw-w64-ucrt-x86_64-toolchain"
|
|
)
|
|
pacman -S --noconfirm "${dependencies[@]}"
|
|
|
|
# build
|
|
mkdir -p build
|
|
cmake \
|
|
-B build \
|
|
-G Ninja \
|
|
-S . \
|
|
-DBUILD_DOCS=OFF \
|
|
-DBUILD_WERROR=ON
|
|
ninja -C build
|
|
|
|
# skip autobuild
|
|
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
|