actions take 90

This commit is contained in:
Jay Lee
2020-12-04 17:40:05 -05:00
parent c093b92c0b
commit b904d77497
2 changed files with 6 additions and 9 deletions

View File

@@ -44,11 +44,13 @@ jobs:
jid: 5 jid: 5
goal: "build" goal: "build"
gamos: "windows" gamos: "windows"
python: ${{ env.BUILD_PYTHON_VERSION }}
- os: windows-2019 - os: windows-2019
jid: 6 jid: 6
goal: "build" goal: "build"
gamos: "windows" gamos: "windows"
PLATFORM: "x86" PLATFORM: "x86"
python: ${{ env.BUILD_PYTHON_VERSION }}
- os: ubuntu-20.04 - os: ubuntu-20.04
goal: "test" goal: "test"
python: "3.6" python: "3.6"
@@ -92,8 +94,8 @@ jobs:
echo "GOAL=${GOAL}" >> $GITHUB_ENV echo "GOAL=${GOAL}" >> $GITHUB_ENV
echo "JID=${JID}" >> $GITHUB_ENV echo "JID=${JID}" >> $GITHUB_ENV
- name: Use pre-compiled Python for testing old versions - name: Use pre-compiled Python for testing and Windows
if: matrix.goal == 'test' if: matrix.python != ''
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}

View File

@@ -15,13 +15,8 @@ echo "This is a ${BITS}-bit build for ${PLATFORM}"
export mypath=$(pwd) export mypath=$(pwd)
cd ~ cd ~
choco install python --limit-output $CHOCOPTIONS export python="python3"
until [ -f "/c/Python39/bin/python3.exe" ]; do export pip="pip3"
sleep 5
ls -l /c/Python39/
done
export python="/c/Python39/bin/python3"
export pip="/c/Python39/bin/pip3"
# Python # Python
#echo "Installing Python..." #echo "Installing Python..."