Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
8c69c0dc
Commit
8c69c0dc
authored
Aug 12, 2015
by
Robert McGibbon
Browse files
Add appveyor.yml
parent
ff0cdceb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
appveyor.yml
appveyor.yml
+41
-0
No files found.
appveyor.yml
0 → 100644
View file @
8c69c0dc
os
:
Windows Server 2012 R2
shallow_clone
:
true
install
:
# Setup shell for VS2010, x64, release mode
-
>
"%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release
# Set path to python, git-bash tools.
-
"
set
PATH=C:
\\
Python34-x64;C:
\\
Python34-x64
\\
Scripts;%PATH%"
-
"
set
PATH=C:
\\
Program
Files
(x86)
\\
Git
\\
bin;%PATH%"
-
pip install nose
# Download FFTW3 for PME plugin
-
C:\MinGW\msys\1.0\bin\wget -q ftp://ftp.fftw.org/pub/fftw/fftw-3.3.4-dll64.zip
-
7z x fftw-3.3.4-dll64.zip -oC:\fftw >
null
-
cd C:\fftw
-
lib /def:libfftw3f-3.def
-
cd %APPVEYOR_BUILD_FOLDER%
-
"
set
PATH=C:
\\
fftw;%PATH%"
# Download and install some OpenMM build dependencies (doxygen, swig)
# and the jom (parallel make) build tool
-
choco install -y doxygen.portable swig jom
# Set CMake options
-
ps
:
$env:CMAKE_FLAGS="-DOPENMM_BUILD_PME_PLUGIN=ON -DFFTW_LIBRARY=C:/fftw/libfftw3f-3.lib -DFFTW_INCLUDES=C:/fftw -DCMAKE_BUILD_TYPE=Release -DOPENMM_BUILD_EXAMPLES=OFF"
-
mkdir build
-
cd build
-
cmake -G "NMake Makefiles" %CMAKE_FLAGS% -LA ..
# Run the build
-
jom install
-
jom PythonInstall
build
:
false
test_script
:
-
ctest
-
cd python\tests
-
nosetests -vv --processes=-1 --process-timeout=200
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment