https://github.com/fclairamb/gha-talib-sample
https://github.com/fclairamb/gha-talib-sample
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fclairamb/gha-talib-sample
- Owner: fclairamb
- Created: 2022-01-09T22:42:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-16T18:18:08.000Z (about 1 year ago)
- Last Synced: 2025-03-23T22:53:24.994Z (about 1 year ago)
- Language: Python
- Size: 83 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TA-Lib in Github Actions
This is a quick & dirty sample repo to help you setup [TA-Lib](https://ta-lib.org/), for example if you want to use the python's [ta-lib wrapper](https://mrjbq7.github.io/ta-lib/).
## How
Add the following lines to your github actions file:
```yaml
- name: Cache talib
id: cache-talib
uses: actions/cache@v2
with:
path: ta-lib
key: ${{ runner.os }}-talib
- name: Build talib
if: steps.cache-talib.outputs.cache-hit != 'true'
run: |
curl http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -L -o ta-lib-0.4.0-src.tar.gz
tar -xzf ta-lib-0.4.0-src.tar.gz
cd ta-lib
./configure --prefix=/usr
make
- name: Install talib
run: |
cd ta-lib
sudo make install
```
You can find a complete file [here](https://github.com/fclairamb/gha-talib-sample/blob/main/.github/workflows/tests.yaml).