Commit 72986960 authored by Remi Perenon's avatar Remi Perenon Committed by eric pellegrini
Browse files

Fixing Windows build

parent 9c62b193
...@@ -185,6 +185,7 @@ ci:windows: ...@@ -185,6 +185,7 @@ ci:windows:
artifacts: artifacts:
paths: paths:
- "%CI_PROJECT_DIR%\\BuildServer\\Windows\\Build" - "%CI_PROJECT_DIR%\\BuildServer\\Windows\\Build"
- "%CI_PROJECT_DIR%\\build"
expire_in: 1 hrs expire_in: 1 hrs
tags: tags:
- sci - sci
......
...@@ -7,6 +7,15 @@ rem MDANSE_TEMPORARY_INSTALLATION_DIR ...@@ -7,6 +7,15 @@ rem MDANSE_TEMPORARY_INSTALLATION_DIR
cd "%MDANSE_SOURCE_DIR%" cd "%MDANSE_SOURCE_DIR%"
rem Set the path to python executable
set PYTHON_EXE=%MDANSE_TEMPORARY_INSTALLATION_DIR%\\python.exe
rem This is the env var used by distutils to find the MSVC framework to be used for compiling extension
rem see https://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat for more info
rem For the sake of code safety, this should be the same framework used to build Python itself
rem see http://p-nand-q.com/python/building-python-27-with-vs2010.html for more info
set VS90COMNTOOLS=C:\Users\\ci\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\Common7\\Tools
%PYTHON_EXE% setup.py build_api %PYTHON_EXE% setup.py build_api
set STATUS=%ERRORLEVEL% set STATUS=%ERRORLEVEL%
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment