Skip to content

Commit

Permalink
Refs fibercrypto#342, add the install of the clan-format tools and so…
Browse files Browse the repository at this point in the history
…me debug about the filesystem after the tools install, this will faiil on windows
stdevPavelmc committed Dec 5, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent eec867c commit fbe7417
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,8 @@ matrix:
env:
- PYTHON=python3
- os: windows
# nothing yet
env:
- win=yes

env:
global:
@@ -39,9 +40,16 @@ before_script:
export CHECK_PATH="$(brew --prefix check)" ;
export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${CHECK_PATH}/lib" ;
fi
# define env vars for windows builds tree -L 3 --filelimit 100
- if [[ $TRAVIS_OS_NAME == 'windows' ]]; then
uname -a
cd /c/ && tree -L 3 --filelimit 100
fi
# Install OS-specific test and build dependencies
- eval "./ci-scripts/install-${TRAVIS_OS_NAME}.sh"
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then export PATH="/opt/gcc-arm-none-eabi-6-2017-q2-update/bin:$PATH" ; fi
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
export PATH="/opt/gcc-arm-none-eabi-6-2017-q2-update/bin:$PATH"
fi
# Install linters
- make install-linters
- git submodule update --remote
3 changes: 2 additions & 1 deletion ci-scripts/install-windows.sh
Original file line number Diff line number Diff line change
@@ -5,13 +5,14 @@ set +e
# install msys2 using chocolatey
choco install msys2

pacman -Sy make gcc protobuf unzip python3-pip
pacman -Sy make gcc protobuf unzip python3-pip tree

# There are no available packages for MSYS2, listed below
# To make them work under MSYS2, we need to move all files to MSYS2 /usr/
pacman -Sy mingw-w64-x86_64-check
pacman -Sy mingw-w64-x86_64-SDL2
pacman -Sy mingw-w64-x86_64-protobuf-c
pacman -Sy mingw-w64-x86_64-clang
set -e && echo "If u got error"

echo "Successfully installed all tools"

0 comments on commit fbe7417

Please sign in to comment.