Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflow for manylinux wheels #555

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build-wheels,yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Build Python wheels and make release
name: Build Python wheels and make a release

on:
workflow_dispatch:
pull_request:
push:
paths:
- '.github/workflows/**'
- 'include/**'
- 'scripts/**'
- 'src/**'
- 'CMakeLists.txt'
- 'setup.py'
- 'pyproject.toml'
- '.github/workflows/**'
- 'include/**'
- 'scripts/**'
- 'src/**'
- 'CMakeLists.txt'
- 'setup.py'
- 'pyproject.toml'
branches: [master]
release:
types: [published]
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@ src/vizdoom/tools/*/release
src/vizdoom/tools/*/*.exe
src/vizdoom/tools/lemon/lemon
src/vizdoom/tools/re2c/re2c
src/vizdoom/tools/re2c/config.h
src/vizdoom/tools/updaterevision/x64/
src/vizdoom/tools/updaterevision/updaterevision
src/vizdoom/tools/zipdir/x64
src/vizdoom/tools/zipdir/x64/
src/vizdoom/tools/zipdir/zipdir
src/vizdoom/wadsrc_wad
src/vizdoom/zdoom_docs
src/vizdoom/zlib/x64/
src/vizdoom/zlib/CTestTestfile.cmake

# Game wads, scenarios backups, logs, demos and personal configurations
*.bak
Expand Down
6 changes: 3 additions & 3 deletions src/lib_python/ViZDoomPythonModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ PYBIND11_MODULE(vizdoom, vz){
/* Exceptions */
/*----------------------------------------------------------------------------------------------------------------*/

#define EXCEPTION_TO_PYT(n) pyb::register_exception< n >(vz, #n);
#define EXCEPTION_TO_PYT(n) pyb::register_exception< n >(vz , #n);
/* register_exception< ExceptionName >(vz, "ExceptionName"); */

EXCEPTION_TO_PYT(FileDoesNotExistException)
Expand Down Expand Up @@ -81,13 +81,13 @@ PYBIND11_MODULE(vizdoom, vz){
#define FUNC_2_PYT(n, f) vz.def( n , f , docstrings::f )
/* vz.def("name", function, docstrings::function) */

#define FUNC_2_PYT_WITH_ARGS(n, f, a...) vz.def( n , f , docstrings::f , a)
#define FUNC_2_PYT_WITH_ARGS(n, f, ...) vz.def( n , f , docstrings::f , __VA_ARGS__ )
/* vz.def("name", function, docstrings::function, args) */

#define CLASS_FUNC_2_PYT(n, cf) .def( n , &cf , docstrings::cf )
/* .def("name", &class::function, docstrings::class::function) */

#define CLASS_FUNC_2_PYT_WITH_ARGS(n, cf, a...) .def( n , &cf , docstrings::cf, a )
#define CLASS_FUNC_2_PYT_WITH_ARGS(n, cf, ...) .def( n , &cf , docstrings::cf , __VA_ARGS__ )
/* .def("name", &class::function, docstrings::class::function, args) */


Expand Down
Loading