mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +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
|
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 }}
|
||||||
|
|||||||
@@ -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..."
|
||||||
|
|||||||
Reference in New Issue
Block a user