From 86c31dcc92f881087d82092f8a136ab35c53a74e Mon Sep 17 00:00:00 2001 From: gagolews Date: Thu, 22 Apr 2021 16:31:12 +1000 Subject: [PATCH] gh action update --- .github/workflows/cibuildwheel.yml | 1 + .github/workflows/py.yml | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 81486b68..a70b9168 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -5,6 +5,7 @@ on: workflow_dispatch env: CIBW_SKIP: cp2* pp* cp35* cp36* CIBW_BEFORE_BUILD: pip install -r requirements.txt --upgrade + CIBW_ARCHS_WINDOWS: auto64 jobs: build_wheels: diff --git a/.github/workflows/py.yml b/.github/workflows/py.yml index 41804abc..369a46e1 100644 --- a/.github/workflows/py.yml +++ b/.github/workflows/py.yml @@ -25,13 +25,17 @@ jobs: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install libcurl4-openssl-dev python3-rpy2 libmlpack-dev r-base-dev python3-dev pandoc - sudo Rscript -e "install.packages(c('genie', 'Rcpp', 'tinytest', 'RcppArmadillo', 'RcppMLPACK', 'knitr', 'roxygen2'))" + sudo Rscript -e "install.packages(c('genie', 'Rcpp', 'tinytest', 'roxygen2', 'pkgbuild'))" #sudo Rscript -e "devtools::install_github('gagolews/Rd2rst')" python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt --upgrade; fi pip install flake8 pytest --upgrade pip install sphinx numpydoc sphinx_rtd_theme sphinx-bootstrap-theme sphinxcontrib-jsmath sphinxcontrib-bibtex --upgrade - pip install rpy2 mlpack pweave ipython jupyter tabulate --upgrade + pip install rpy2 pweave ipython jupyter tabulate --upgrade + - name: Install optional dependencies + continue-on-error: true + run: | + pip install mlpack --upgrade - name: Test and check Python run: | make py-test