Fix CI on macOS #46
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: Linux CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install libcurl4-openssl-dev libhidapi-dev libzip-dev | |
pip install build | |
- name: Build libconcord | |
run: | | |
cd libconcord | |
mkdir m4; autoreconf --install | |
./configure | |
make | |
sudo make install | |
sudo ldconfig | |
cd - | |
- name: Build libconcord Python bindings | |
run: | | |
cd libconcord/bindings/python | |
python3 -m build | |
pip install dist/*.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 |