mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-18 21:47:53 +08:00
Update vcpkg-deps-linux.yml
This commit is contained in:
parent
98364e83b6
commit
7a9f1e9c6c
14
.github/workflows/vcpkg-deps-linux.yml
vendored
14
.github/workflows/vcpkg-deps-linux.yml
vendored
@ -40,12 +40,16 @@ jobs:
|
|||||||
apt update -y
|
apt update -y
|
||||||
case "${{ matrix.job.arch }}" in
|
case "${{ matrix.job.arch }}" in
|
||||||
x86_64)
|
x86_64)
|
||||||
# CMake 3.15+
|
|
||||||
apt install -y gpg wget ca-certificates
|
|
||||||
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ bionic main' | tee /etc/apt/sources.list.d/kitware.list >/dev/null
|
|
||||||
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
|
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install -y curl zip unzip tar git cmake g++ gcc build-essential pkg-config wget nasm yasm ninja-build libjpeg8-dev
|
apt install -y curl zip unzip tar git g++ gcc build-essential pkg-config wget nasm yasm ninja-build libjpeg8-dev libssl-dev
|
||||||
|
wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz
|
||||||
|
apt remove -y --purge cmake
|
||||||
|
tar -zxvf cmake-3.20.2.tar.gz
|
||||||
|
cd cmake-3.20.2
|
||||||
|
./bootstrap
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
cd -
|
||||||
cmake --version
|
cmake --version
|
||||||
gcc -v
|
gcc -v
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user