Skip to content

Commit

Permalink
TEST wheels update
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jansen committed Apr 5, 2021
1 parent 5d23590 commit a81d461
Showing 1 changed file with 44 additions and 45 deletions.
89 changes: 44 additions & 45 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Distribution
name: Zipline Wheels

on: [ push ]

Expand All @@ -10,50 +10,49 @@ jobs:
# CIBW_TEST_EXTRAS: test
# CIBW_TEST_COMMAND: svn export https://github.com/stefan-jansen/zipline-reloaded/trunk/tests; nosetests -w tests --ignore-files="test_security_list\.py"
CIBW_TEST_COMMAND: python -c "import zipline; print(zipline.__version__)"
# CIBW_BEFORE_TEST_LINUX: >
# curl -L -o ta-lib-0.4.0-src.tar.gz http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz &&
# tar xvfz ta-lib-0.4.0-src.tar.gz &&
# cd ta-lib &&
# ./configure &&
# make &&
# make install &&
# ldconfig &&
# yum install -y subversion
# CIBW_BEFORE_TEST_MACOS: >
# brew install freetype pkg-config gcc openssl hdf5 ta-lib subversion
# CIBW_BEFORE_TEST_WINDOWS: >
# rmdir /s /q "C:\ta-lib\"
# powershell -Command "(New-Object Net.WebClient).DownloadFile('http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip', 'ta-lib-0.4.0-msvc.zip')"
# IF %ERRORLEVEL% == 1; exit 1
# powershell -Command "Add-Type -AssemblyName System.IO.Compression.FileSystem;[System.IO.Compression.ZipFile]::ExtractToDirectory('ta-lib-0.4.0-msvc.zip', 'C:\')"
# IF %ERRORLEVEL% == 1; exit 1
# pushd C:\ta-lib\c\
# pushd make\cdd\win32\msvc
# nmake
# IF %ERRORLEVEL% == 1; exit 1
# popd
# pushd make\cdr\win32\msvc
# nmake
# IF %ERRORLEVEL% == 1; exit 1
# popd
# pushd make\cmd\win32\msvc
# nmake
# IF %ERRORLEVEL% == 1; exit 1
# popd
# pushd make\cmr\win32\msvc
# nmake
# IF %ERRORLEVEL% == 1; exit 1
# popd
# pushd make\csd\win32\msvc
# nmake
# IF %ERRORLEVEL% == 1; exit 1
# popd
# pushd make\csr\win32\msvc
# nmake
# IF %ERRORLEVEL% == 1; exit 1
# popd
# popd
# del ta-lib-0.4.0-msvc.zip
CIBW_BEFORE_TEST_LINUX: >
curl -L -o ta-lib-0.4.0-src.tar.gz http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz &&
tar xvfz ta-lib-0.4.0-src.tar.gz &&
cd ta-lib &&
./configure &&
make &&
make install &&
ldconfig
CIBW_BEFORE_TEST_MACOS: >
brew install freetype pkg-config gcc openssl hdf5 ta-lib
CIBW_BEFORE_TEST_WINDOWS: >
rmdir /s /q "C:\ta-lib\"
powershell -Command "(New-Object Net.WebClient).DownloadFile('http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip', 'ta-lib-0.4.0-msvc.zip')"
IF %ERRORLEVEL% == 1; exit 1
powershell -Command "Add-Type -AssemblyName System.IO.Compression.FileSystem;[System.IO.Compression.ZipFile]::ExtractToDirectory('ta-lib-0.4.0-msvc.zip', 'C:\')"
IF %ERRORLEVEL% == 1; exit 1
pushd C:\ta-lib\c\
pushd make\cdd\win32\msvc
nmake
IF %ERRORLEVEL% == 1; exit 1
popd
pushd make\cdr\win32\msvc
nmake
IF %ERRORLEVEL% == 1; exit 1
popd
pushd make\cmd\win32\msvc
nmake
IF %ERRORLEVEL% == 1; exit 1
popd
pushd make\cmr\win32\msvc
nmake
IF %ERRORLEVEL% == 1; exit 1
popd
pushd make\csd\win32\msvc
nmake
IF %ERRORLEVEL% == 1; exit 1
popd
pushd make\csr\win32\msvc
nmake
IF %ERRORLEVEL% == 1; exit 1
popd
popd
del ta-lib-0.4.0-msvc.zip
CIBW_BUILD_VERBOSITY: 1

strategy:
Expand Down

0 comments on commit a81d461

Please sign in to comment.