Skip to content

Commit

Permalink
fix for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
saleh-mir committed Jan 4, 2025
1 parent 6c33c9a commit 1d19c0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
~/.local/ta-lib/include
key: talib-cache-v0.4.0
- name: Install ta-lib mac / windows
shell: bash
run: |
if ([ "$RUNNER_OS" = "macOS" ]); then
if [ "$RUNNER_OS" = "macOS" ]; then
brew install ta-lib
fi
if ([ "$RUNNER_OS" = "Windows" ]); then
elif [ "$RUNNER_OS" = "Windows" ]; then
curl -sL http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip -o $GITHUB_WORKSPACE/ta-lib.zip --create-dirs && 7z x $GITHUB_WORKSPACE/ta-lib.zip -o/c/ta-lib && mv /c/ta-lib/ta-lib/* /c/ta-lib/ && rm -rf /c/ta-lib/ta-lib && cd /c/ta-lib/c/make/cdr/win32/msvc && nmake
fi
- name: Install ta-lib Linux
Expand Down

0 comments on commit 1d19c0f

Please sign in to comment.