diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-04 22:29:04 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-04 22:44:14 +0100 |
commit | 8da3884afce7c03368ae2ed67d1e40fced9225a4 (patch) | |
tree | e7d7bce16bb56c2ceb13a11232a1a30554c252fb /.github/workflows | |
parent | 3778ef0636827931737fc6fc712902a9c54a4574 (diff) | |
download | weechat-8da3884afce7c03368ae2ed67d1e40fced9225a4.zip |
core: add script check_curl_symbols.py
This script is used to check Curl symbols defined in WeeChat vs exposed Curl
symbols.
Usage:
curl https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a656d1bc8..8884af879 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,12 +47,17 @@ jobs: pylint --additional-builtins=_ doc/docgen.py pylint doc/python_stub.py pylint tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py + pylint tools/check_curl_symbols.py bandit doc/docgen.py doc/python_stub.py bandit tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py + bandit tools/check_curl_symbols.py - name: Check Python stub file run: ./doc/python_stub.py | diff src/plugins/python/weechat.pyi - + - name: Check Curl symbols + run: curl --silent --show-error --fail --retry 10 https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py + - name: Build and run tests env: CC: ${{ matrix.config.cc }} |