Add pyproject.toml for the Python bindings (and fix CI) #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: brew install autoconf automake hidapi libzip | |
- name: Build libconcord | |
run: | | |
cd libconcord | |
mkdir m4; autoreconf --install | |
./configure | |
make | |
sudo make install | |
cd - | |
- name: Build libconcord Python bindings | |
run: | | |
cd libconcord/bindings/python | |
python3 -m build | |
sudo pip install *.whl | |
python3 -c 'import libconcord; print(libconcord)' | |
cd - | |
- name: Build concordance | |
run: | | |
cd concordance | |
mkdir m4; autoreconf --install | |
./configure | |
make | |
sudo make install | |
cd - | |
concordance --version |