mirror of
https://github.com/Relintai/gdnative_python.git
synced 2025-01-21 15:17:19 +01:00
Re-enabled and ran static checks.
This commit is contained in:
parent
bfed962f1f
commit
52144e7f36
40
.github/workflows/build.yml
vendored
40
.github/workflows/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
|
||||||
|
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
@ -229,7 +229,7 @@ if env["platform"].startswith("windows") or env["platform"].startswith("osx"):
|
|||||||
release_target = "build/pandemonium-python-${release_suffix}-${platform}.zip"
|
release_target = "build/pandemonium-python-${release_suffix}-${platform}.zip"
|
||||||
else:
|
else:
|
||||||
release_target = "build/pandemonium-python-${release_suffix}-${platform}.tar.bz2"
|
release_target = "build/pandemonium-python-${release_suffix}-${platform}.tar.bz2"
|
||||||
|
|
||||||
release = env.Command(release_target, env["DIST_ROOT"], generate_release)
|
release = env.Command(release_target, env["DIST_ROOT"], generate_release)
|
||||||
env.Alias("release", release)
|
env.Alias("release", release)
|
||||||
env.AlwaysBuild("release")
|
env.AlwaysBuild("release")
|
||||||
|
@ -172,7 +172,7 @@ GDN_EXPORT void pandemonium_gdnative_init(pandemonium_gdnative_init_options *opt
|
|||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
pythonhome[i] = '\0';
|
pythonhome[i] = '\0';
|
||||||
|
|
||||||
pythonscript_gdapi10->pandemonium_string_destroy(&_pythonhome);
|
pythonscript_gdapi10->pandemonium_string_destroy(&_pythonhome);
|
||||||
Py_SetPythonHome(pythonhome);
|
Py_SetPythonHome(pythonhome);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user