Fix Travis CI build.
This commit is contained in:
parent
42d1183a5d
commit
8ffe780293
2 changed files with 35 additions and 14 deletions
|
@ -22,20 +22,7 @@ setlocal
|
||||||
|
|
||||||
if "%CMAKE_GENERATOR%" == "MSYS Makefiles" set PATH=C:\msys64\usr\bin;%PATH%
|
if "%CMAKE_GENERATOR%" == "MSYS Makefiles" set PATH=C:\msys64\usr\bin;%PATH%
|
||||||
if "%CMAKE_GENERATOR%" == "MSYS Makefiles" (
|
if "%CMAKE_GENERATOR%" == "MSYS Makefiles" (
|
||||||
pacman --noconfirm -Syyu ^
|
bash -lc "cd /c/projects/akvirtualcamera && ./ports/ci/appveyor/install_deps.sh"
|
||||||
--ignore filesystem,pacman,pacman-mirrors
|
|
||||||
pacman --noconfirm --needed -S ^
|
|
||||||
cmake ^
|
|
||||||
git ^
|
|
||||||
make ^
|
|
||||||
pkg-config ^
|
|
||||||
python3 ^
|
|
||||||
mingw-w64-x86_64-binutils ^
|
|
||||||
mingw-w64-i686-binutils ^
|
|
||||||
mingw-w64-x86_64-cmake ^
|
|
||||||
mingw-w64-i686-cmake ^
|
|
||||||
mingw-w64-x86_64-pkg-config ^
|
|
||||||
mingw-w64-i686-pkg-config
|
|
||||||
)
|
)
|
||||||
|
|
||||||
endlocal
|
endlocal
|
||||||
|
|
34
ports/ci/appveyor/install_deps.sh
Normal file
34
ports/ci/appveyor/install_deps.sh
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# akvirtualcamera, virtual camera for Mac and Windows.
|
||||||
|
# Copyright (C) 2021 Gonzalo Exequiel Pedone
|
||||||
|
#
|
||||||
|
# akvirtualcamera is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# akvirtualcamera is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with akvirtualcamera. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
# Web-Site: http://webcamoid.github.io/
|
||||||
|
|
||||||
|
yes | pacman --noconfirm -Syyu \
|
||||||
|
--ignore filesystem,pacman,pacman-mirrors
|
||||||
|
yes | pacman --noconfirm --needed -S \
|
||||||
|
cmake \
|
||||||
|
git \
|
||||||
|
make \
|
||||||
|
pkg-config \
|
||||||
|
python3 \
|
||||||
|
mingw-w64-x86_64-binutils \
|
||||||
|
mingw-w64-i686-binutils \
|
||||||
|
mingw-w64-x86_64-cmake \
|
||||||
|
mingw-w64-i686-cmake \
|
||||||
|
mingw-w64-x86_64-pkg-config \
|
||||||
|
mingw-w64-i686-pkg-config
|
Loading…
Reference in a new issue