cmake : add python support

This commit is contained in:
Georgi Gerganov
2021-01-23 13:15:16 +02:00
parent a64106783f
commit 0bb455041e
4 changed files with 76 additions and 1 deletions

View File

@@ -30,6 +30,38 @@ jobs:
make
ctest
ubuntu-18_04-python:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps:
- name: Clone
uses: actions/checkout@v1
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install cmake;
- name: Configure
run: cmake . -DGGWAVE_SUPPORT_PYTHON=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }}
- name: Build
run: |
make
ctest
ubuntu-18_04-gcc-sanitized:
runs-on: ubuntu-18.04