Skip to content

Commit

Permalink
test github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Apr 24, 2022
1 parent 33b6c00 commit 53ff943
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
strategy:
matrix:
#os: [ubuntu-20.04, windows-2019, macos-10.15]
os: [macos-10.15, ubuntu-20.04]
os: [ubuntu-20.04]

steps:

Expand All @@ -74,14 +74,18 @@ jobs:
ls -la
cp -r ${{env.working-directory}}/* .
- name: install libraries
run: |
apt-get install libblas-dev liblapack-dev
- name: Build wheels
uses: pypa/cibuildwheel@v2.4.0
env:
CIBW_BEFORE_BUILD: pip install numpy==1.19.5
CIBW_BUILD: cp36-* cp37-* cp38-*
CIBW_BEFORE_BUILD_MACOS: brew install gfortran lapack openblas
#CIBW_BEFORE_BUILD_MACOS: brew install gfortran lapack openblas
#CIBW_BEFORE_BUILD_WINDOWS: xcopy ${{env.working-directory}} . /E /H /C /I
CIBW_BEFORE_BUILD_LINUX: apt install libblas-dev liblapack-dev
#CIBW_BEFORE_BUILD_LINUX: apt install libblas-dev liblapack-dev
#working-directory: ${{env.working-directory}}

- name: Build wheels
Expand All @@ -90,9 +94,9 @@ jobs:
CIBW_BEFORE_BUILD: pip install numpy==1.21.6
CIBW_BUILD: cp39-* cp310-*
CIBW_ARCHS_MACOS: x86_64 universal2
CIBW_BEFORE_BUILD_MACOS: brew install gfortran lapack openblas
#CIBW_BEFORE_BUILD_MACOS: brew install gfortran lapack openblas
#CIBW_BEFORE_BUILD_WINDOWS: xcopy ${{env.working-directory}} . /E /H /C /I
CIBW_BEFORE_BUILD_LINUX: apt install libblas-dev liblapack-dev
#CIBW_BEFORE_BUILD_LINUX: apt install libblas-dev liblapack-dev
#working-directory: ${{env.working-directory}}

- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 53ff943

Please sign in to comment.