mirror of
https://github.com/Relintai/gdnative_python.git
synced 2024-11-12 10:25:08 +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:
|
||||
|
||||
|
||||
# static-checks:
|
||||
# name: '📊 Static checks'
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
|
||||
# with:
|
||||
# submodules: true
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
|
||||
# with:
|
||||
# python-version: ${{ env.PYTHON_VERSION }}
|
||||
# - name: Bootstrap
|
||||
# run: |
|
||||
# set -eux
|
||||
# python --version
|
||||
# pip install pre-commit
|
||||
# - name: Pre-commit hooks check
|
||||
# run: |
|
||||
# pre-commit run --all-files --show-diff-on-failure
|
||||
static-checks:
|
||||
name: '📊 Static checks'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
|
||||
with:
|
||||
python-version: ${{ env.PYTHON_VERSION }}
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
set -eux
|
||||
python --version
|
||||
pip install pre-commit
|
||||
- name: Pre-commit hooks check
|
||||
run: |
|
||||
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"
|
||||
else:
|
||||
release_target = "build/pandemonium-python-${release_suffix}-${platform}.tar.bz2"
|
||||
|
||||
|
||||
release = env.Command(release_target, env["DIST_ROOT"], generate_release)
|
||||
env.Alias("release", release)
|
||||
env.AlwaysBuild("release")
|
||||
|
@ -172,7 +172,7 @@ GDN_EXPORT void pandemonium_gdnative_init(pandemonium_gdnative_init_options *opt
|
||||
++i;
|
||||
}
|
||||
pythonhome[i] = '\0';
|
||||
|
||||
|
||||
pythonscript_gdapi10->pandemonium_string_destroy(&_pythonhome);
|
||||
Py_SetPythonHome(pythonhome);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user