mirror of
https://github.com/Relintai/gdnative_python.git
synced 2025-01-06 15:19:40 +01:00
Disable tests for now in the github actions.
This commit is contained in:
parent
0d0a0006dd
commit
fbc365fe7e
112
.github/workflows_off/build.yml
vendored
112
.github/workflows_off/build.yml
vendored
@ -17,26 +17,26 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|
||||||
static-checks:
|
# static-checks:
|
||||||
name: '📊 Static checks'
|
# name: '📊 Static checks'
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
|
# uses: actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
|
||||||
with:
|
# with:
|
||||||
submodules: true
|
# submodules: true
|
||||||
- name: Set up Python
|
# - name: Set up Python
|
||||||
uses: actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
|
# uses: actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
|
||||||
with:
|
# with:
|
||||||
python-version: ${{ env.PYTHON_VERSION }}
|
# python-version: ${{ env.PYTHON_VERSION }}
|
||||||
- name: Bootstrap
|
# - name: Bootstrap
|
||||||
run: |
|
# run: |
|
||||||
set -eux
|
# set -eux
|
||||||
python --version
|
# python --version
|
||||||
pip install pre-commit
|
# pip install pre-commit
|
||||||
- name: Pre-commit hooks check
|
# - name: Pre-commit hooks check
|
||||||
run: |
|
# run: |
|
||||||
pre-commit run --all-files --show-diff-on-failure
|
# pre-commit run --all-files --show-diff-on-failure
|
||||||
|
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
@ -72,16 +72,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
scons build -j2
|
scons build -j2
|
||||||
- name: 'Start xvfb'
|
# - name: 'Start xvfb'
|
||||||
run: |
|
# run: |
|
||||||
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
# /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
||||||
echo ">>> Started xvfb"
|
# echo ">>> Started xvfb"
|
||||||
- name: 'Run tests'
|
# - name: 'Run tests'
|
||||||
run: |
|
# run: |
|
||||||
set -eux
|
# set -eux
|
||||||
scons tests headless=true
|
# scons tests headless=true
|
||||||
env:
|
# env:
|
||||||
DISPLAY: ':99.0'
|
# DISPLAY: ':99.0'
|
||||||
- name: 'Generate artifact archive'
|
- name: 'Generate artifact archive'
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
@ -136,28 +136,28 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
scons build -j2
|
scons build -j2
|
||||||
- name: 'Install Mesa3D OpenGL'
|
# - name: 'Install Mesa3D OpenGL'
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
set -eux
|
# set -eux
|
||||||
# Azure pipelines doesn't provide a GPU with an OpenGL driver,
|
# # Azure pipelines doesn't provide a GPU with an OpenGL driver,
|
||||||
# hence we use Mesa3D as software OpenGL driver
|
# # hence we use Mesa3D as software OpenGL driver
|
||||||
pushd build/${{ matrix.PLATFORM }}/platforms/
|
# pushd build/${{ matrix.PLATFORM }}/platforms/
|
||||||
if [ "${{ matrix.PLATFORM }}" = "windows-64" ]
|
# if [ "${{ matrix.PLATFORM }}" = "windows-64" ]
|
||||||
then
|
# then
|
||||||
curl https://downloads.fdossena.com/Projects/Mesa3D/Builds/MesaForWindows-x64-20.0.7.7z -o mesa.7z
|
# curl https://downloads.fdossena.com/Projects/Mesa3D/Builds/MesaForWindows-x64-20.0.7.7z -o mesa.7z
|
||||||
else
|
# else
|
||||||
curl https://downloads.fdossena.com/Projects/Mesa3D/Builds/MesaForWindows-20.0.7.7z -o mesa.7z
|
# curl https://downloads.fdossena.com/Projects/Mesa3D/Builds/MesaForWindows-20.0.7.7z -o mesa.7z
|
||||||
fi
|
# fi
|
||||||
# opengl32.dll must be extracted in the same directory than Pandemonium binary
|
# # opengl32.dll must be extracted in the same directory than Pandemonium binary
|
||||||
7z.exe x mesa.7z
|
# 7z.exe x mesa.7z
|
||||||
ls -lh opengl32.dll # Sanity check
|
# ls -lh opengl32.dll # Sanity check
|
||||||
popd
|
# popd
|
||||||
- name: 'Run tests'
|
# - name: 'Run tests'
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
set -eux
|
# set -eux
|
||||||
scons tests
|
# scons tests
|
||||||
- name: 'Generate artifact archive'
|
- name: 'Generate artifact archive'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -205,10 +205,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
scons build -j2
|
scons build -j2
|
||||||
- name: 'Run tests'
|
# - name: 'Run tests'
|
||||||
run: |
|
# run: |
|
||||||
set -eux
|
# set -eux
|
||||||
scons tests
|
# scons tests
|
||||||
- name: 'Generate artifact archive'
|
- name: 'Generate artifact archive'
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
|
Loading…
Reference in New Issue
Block a user