Skip to content

Commit

Permalink
github/ci: using cmake for pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Jul 14, 2024
1 parent 6e7b1a4 commit 1ad2223
Showing 1 changed file with 21 additions and 36 deletions.
57 changes: 21 additions & 36 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,50 +18,35 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: setup
- name: Setup environment (macOS)
if: runner.os == 'macos'
run: |
brew update
brew install autoconf automake
brew install autoconf automake pybind11 virtualenv
#- name: Setup libfec
# run: git clone https://github.com/jgaeddert/libfec.git && cd libfec && ./configure && make && sudo make install

- name: Setup pybind-dev (Linux)
- name: Setup environment (Linux)
if: runner.os == 'Linux'
run: sudo apt-get install pybind11-dev

- name: Setup pybind-dev (macOS)
if: runner.os == 'macOS'
run: brew install pybind11
run: |
sudo apt-get install -y --no-install-recommends build-essential pybind11-dev virtualenv python3-dev
- name: Setup python dependencies (pip)
run: sudo -H python3 -m pip install pybind11 numpy matplotlib
#- name: Setup libfec
# run: git clone https://github.com/jgaeddert/libfec.git && cd libfec && ./configure && make && sudo make install

- 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
run: |
virtualenv env/liquid
source env/liquid/bin/activate
python -m pip install pybind11 numpy matplotlib
mkdir build
cd build
cmake ..
make
#make install
#ldconfig
./xautotest -v -o autotest.json
#make check-link
#make doc-check
#make bench
build_wheels:
name: Build wheels on ${{ matrix.os }}
Expand Down

0 comments on commit 1ad2223

Please sign in to comment.