From ab8fd071b83d237aa939964037988323ededaf64 Mon Sep 17 00:00:00 2001 From: Syun'ichi Shiraiwa Date: Sun, 28 Mar 2021 15:17:22 -0400 Subject: [PATCH] fixing binary release --- .github/workflows/main.yml | 2 +- .github/workflows/release_binary.yml | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd011021..4b25de17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8, 3.9] #os: [ubuntu-latest] os: [ubuntu-20.04] env: diff --git a/.github/workflows/release_binary.yml b/.github/workflows/release_binary.yml index a8e82278..4fb51ccf 100644 --- a/.github/workflows/release_binary.yml +++ b/.github/workflows/release_binary.yml @@ -22,10 +22,12 @@ jobs: # export PATH=/opt/python/cp36-cp36m/bin:$PATH pip3 install wheel - pip3 install numpy==1.20.0 pip3 install six pip3 install auditwheel pip3 install twine + if [ -f requirements.txt ]; then + pip3 install -r requirements.txt + fi rm -rf dist/* python3 setup.py sdist ls -l dist/ @@ -53,10 +55,12 @@ jobs: # ls -l /opt/python/ export PATH=/opt/python/${{ matrix.pythonpath }}/bin:$PATH - pip3 install numpy==1.20.0 pip3 install six pip3 install auditwheel - pip3 install twine + pip3 install twine + if [ -f requirements.txt ]; then + pip3 install -r requirements.txt + fi CWD=$PWD ls -l python3 setup.py install