Merge remote-tracking branch 'github/bind-dev' into bind-dev #317
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: Core C CI | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
jobs: | ||
standard: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
runs-on: [ubuntu-latest, macos-latest] | ||
name: "💦 ${{ matrix.runs-on }}" | ||
runs-on: ${{ matrix.runs-on }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup environment | ||
if: runner.os == 'macos' | ||
run: | | ||
brew update | ||
brew install autoconf automake pybind11 virtualenv | ||
if: runner.os == 'Linux' | ||
Check failure on line 26 in .github/workflows/core.yml GitHub Actions / Core C CIInvalid workflow file
|
||
run: | | ||
sudo apt-get install -y --no-install-recommends build-essential pybind11-dev virtualenv | ||
#- name: Setup libfec | ||
# run: git clone https://github.com/jgaeddert/libfec.git && cd libfec && ./configure && make && sudo make install | ||
- name: Setup python virtual environment | ||
run: | | ||
python3 -m venv /tmp/liquid | ||
source /tmp/liquid/bin/activate | ||
pip install pybind11 numpy matplotlib | ||
- name: bootstrap | ||
run: ./bootstrap.sh | ||
- name: configure | ||
run: ./configure | ||
- name: make | ||
run: make -j 2 | ||
- name: make check-doc | ||
run: make check-doc | ||
- name: make check | ||
run: make -j 2 check | ||
- name: make install | ||
run: sudo make install | ||
- name: ldconfig (Linux) | ||
if: runner.os == 'Linux' | ||
run: sudo ldconfig | ||
- name: make check-link | ||
run: make check-link |