Skip to content

Commit

Permalink
Refs fibercrypto#342, setting the msys2 shell in the install script
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevPavelmc committed Dec 5, 2019
1 parent 4219983 commit 6bde39a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions ci-scripts/install-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@

set +e

# this script is run by the git shell, not by the msys2 so we need to make a wrapper for run command inside
# msys2 shell lite pacman installs, etc...
export shell="cmd.exe //C RefreshEnv.cmd & C:/tools/msys64/msys2_shell.cmd -defterm -mingw64 -no-start -full-path -here -c \$\* --"

# install msys2 using chocolatey
choco install msys2

pacman -Sy make gcc protobuf unzip python3-pip tree
$shell 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
$shell pacman -Sy mingw-w64-x86_64-check
$shell pacman -Sy mingw-w64-x86_64-SDL2
$shell pacman -Sy mingw-w64-x86_64-protobuf-c
$shell pacman -Sy mingw-w64-x86_64-clang
set -e && echo "If u got error"

# debug the fylesystem structure on travis
Expand Down

0 comments on commit 6bde39a

Please sign in to comment.