CI: Minimal cleanup [ci skip]
This commit is contained in:
parent
131720083c
commit
b131f42040
2 changed files with 1 additions and 35 deletions
|
|
@ -1,34 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
. .travis/environment.sh
|
||||
|
||||
cmake_dir="cmake-3.13.0-${TRAVIS_OS_NAME}-${TRAVIS_CPU_ARCH}"
|
||||
cmake_arc="${cmake_dir}.tar.gz"
|
||||
cmake_url="https://github.com/sfztools/cmake/releases/download/${TRAVIS_OS_NAME}/${cmake_arc}"
|
||||
|
||||
if [[ ${CROSS_COMPILE} == "mingw32" || ${CROSS_COMPILE} == "mingw64" ]]; then
|
||||
buildenv bash -c "echo Hello from container" # ensure to start the container
|
||||
docker cp "$container":/etc/pacman.conf pacman.conf
|
||||
cat >>pacman.conf <<EOF
|
||||
[multilib]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[mingw-w64]
|
||||
SigLevel = Optional TrustAll
|
||||
Server = https://github.com/jpcima/arch-mingw-w64/releases/download/repo.\$arch/
|
||||
EOF
|
||||
docker cp pacman.conf "$container":/etc/pacman.conf
|
||||
rm -f pacman.conf
|
||||
elif [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
|
||||
wget -q ${cmake_url}
|
||||
tar xzf ${cmake_arc}
|
||||
cd ${TRAVIS_BUILD_DIR}/${cmake_dir}
|
||||
sudo cp bin/* /usr/local/bin/
|
||||
sudo cp -r share/* /usr/local/share/
|
||||
elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
|
||||
sudo ln -s /usr/local /opt/local
|
||||
brew update
|
||||
brew upgrade cmake
|
||||
brew install jack
|
||||
fi
|
||||
|
|
@ -19,7 +19,7 @@ install:
|
|||
- cmd: vcpkg install libsndfile:%VCPKG_TRIPLET%
|
||||
|
||||
before_build:
|
||||
- cmd: git submodule update --init
|
||||
- cmd: git submodule update --init --recursive
|
||||
- cmd: mkdir CMakeBuild
|
||||
- cmd: cd CMakeBuild
|
||||
- cmd: cmake .. -G"Visual Studio 16 2019" -A"%platform%" -DSFIZZ_JACK=OFF -DSFIZZ_BENCHMARKS=OFF -DSFIZZ_TESTS=OFF -DSFIZZ_LV2=ON -DSFIZZ_VST=ON -DCMAKE_BUILD_TYPE=Release -DVCPKG_TARGET_TRIPLET=%VCPKG_TRIPLET% -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue