mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-07 09:43:40 +08:00
c5d57c03ee
* Replace protobuf 2.6.1 with 3.21.8 * Update/add protobuf libs * Add CS2 protos * Remove old csgo/dota protos * Add versioned protoc bin * Comment out Valve's `schema` define for now * Use ENetworkDisconnectionReason * Fix-up `offsetof` to avoid errors on some Clang versions
22 lines
761 B
INI
22 lines
761 B
INI
[tox]
|
|
envlist =
|
|
py{37,38,39,310}-{cpp,python}
|
|
|
|
[testenv]
|
|
usedevelop=true
|
|
passenv =
|
|
CC KOKORO_BUILD_ID KOKORO_BUILD_NUMBER
|
|
setenv =
|
|
cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
|
|
cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs
|
|
cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
|
|
python: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
|
|
commands =
|
|
python setup.py -q build_py
|
|
python: python setup.py -q build
|
|
py{37,38,39,310}-cpp: python setup.py -q build --cpp_implementation --warnings_as_errors --compile_static_extension
|
|
python: python setup.py -q test -q
|
|
cpp: python setup.py -q test -q --cpp_implementation
|
|
python: python setup.py -q test_conformance
|
|
cpp: python setup.py -q test_conformance --cpp_implementation
|