Revamped build system to minimal autoconf + scikit-build #30
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: Autoreconf Dist | |
on: | |
push: | |
branches: [ dev ] | |
jobs: | |
autoreconf: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Dev Branch | |
uses: actions/checkout@v2 | |
with: | |
ref: 'dev' | |
- name: Set up Autotools | |
run: sudo apt-get update && sudo apt-get install -y autoconf automake libtool sed r-base r-cran-rcppeigen g++ libeigen3-dev python3-pybind11 libgsl-dev | |
- name: Run autoreconf | |
run: | | |
autoreconf -fiv | |
./configure | |
- name: Push to Main Branch | |
run: | | |
git config --global user.name 'GitHub Action' | |
git config --global user.email '[email protected]' | |
git add configure DESCRIPTION VERSION docs/sphinx/conf.py | |
git commit -m "Auto-update Autotools files" || echo "No changes to commit" | |
git push origin HEAD:main -f |