invalid yml #32
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 r-base r-cran-rcppeigen r-cran-rcppprogress g++ libeigen3-dev python3-pybind11 libgsl-dev | ||
- name: Run autoreconf | ||
run: autoreconf -fiv && ./configure | ||
- name: Rcpp compileAttributes | ||
run: Rscript -e Rcpp::compileAttributes() | ||
- 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 add src/RcppExports.cpp R/RcppExports.R | ||
git rm -f DESCRIPTION.in | ||
git commit -m "Auto-update Autotools files" || echo "No changes to commit" | ||
git push origin HEAD:main -f |