mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
actions take 90
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -44,11 +44,13 @@ jobs:
|
||||
jid: 5
|
||||
goal: "build"
|
||||
gamos: "windows"
|
||||
python: ${{ env.BUILD_PYTHON_VERSION }}
|
||||
- os: windows-2019
|
||||
jid: 6
|
||||
goal: "build"
|
||||
gamos: "windows"
|
||||
PLATFORM: "x86"
|
||||
python: ${{ env.BUILD_PYTHON_VERSION }}
|
||||
- os: ubuntu-20.04
|
||||
goal: "test"
|
||||
python: "3.6"
|
||||
@@ -92,8 +94,8 @@ jobs:
|
||||
echo "GOAL=${GOAL}" >> $GITHUB_ENV
|
||||
echo "JID=${JID}" >> $GITHUB_ENV
|
||||
|
||||
- name: Use pre-compiled Python for testing old versions
|
||||
if: matrix.goal == 'test'
|
||||
- name: Use pre-compiled Python for testing and Windows
|
||||
if: matrix.python != ''
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
@@ -15,13 +15,8 @@ echo "This is a ${BITS}-bit build for ${PLATFORM}"
|
||||
export mypath=$(pwd)
|
||||
cd ~
|
||||
|
||||
choco install python --limit-output $CHOCOPTIONS
|
||||
until [ -f "/c/Python39/bin/python3.exe" ]; do
|
||||
sleep 5
|
||||
ls -l /c/Python39/
|
||||
done
|
||||
export python="/c/Python39/bin/python3"
|
||||
export pip="/c/Python39/bin/pip3"
|
||||
export python="python3"
|
||||
export pip="pip3"
|
||||
|
||||
# Python
|
||||
#echo "Installing Python..."
|
||||
|
||||
Reference in New Issue
Block a user