Archipelago/.github/workflows
black-sliver acf85eb9ab
Speedups: remove dependency on c++ (#2796)
* Speedups: remove dependency on c++

* Speedups: intset: handle malloc failing

* Speedups: intset: fix corner case for int64 on 32bit systems

original idea was to only use bucket->val if int<pointer,
but we always have a union now anyway

* Speedups: add size comment to player_set bucket configuration

* test: more tests for LocationStore.find_item

* test: require _speedups in CI

This kind of tests that the build succeeds.

* test: even more tests for LocationStore.find_item

* Speedups: intset uniform comment style

* Speedups: intset: avoid memory leak when realloc fails

* Speedups: intset: make `gcc -pedantic -std=c99 -fanalyzer` without warnings

Unnamed unions are not in C99, this got fixed.
The overhead of setting count=0 is minimal or optimized-out and silences -fanalizer (see comment).

* Speedups: don't leak memory in case of exception

* Speedups: intset: validate alloc and free

This won't happen in our cython, but it's still a good addition.

* CI: add test framework for C/C++ code

* CI: ctest: fix cwd

* Speedups: intset: ignore msvc warning

* Tests: intset: revert attempt at no-asan

We solve this with env vars in ctest now, and this fails for msvc.

* Test: cpp: docs: fix typo

* Test: cpp: docs: fix another typo

* Test: intset: proper bucket count for Negative test

INTxx_MIN % 1 would not produce a negative number, so the test was flawed.
2024-06-12 18:54:59 +02:00
..
analyze-modified-files.yml CI: update actions (#2943) 2024-03-13 08:25:51 +01:00
build.yml CI: update actions (#2943) 2024-03-13 08:25:51 +01:00
codeql-analysis.yml CI: update actions (#2943) 2024-03-13 08:25:51 +01:00
ctest.yml Speedups: remove dependency on c++ (#2796) 2024-06-12 18:54:59 +02:00
label-pull-requests.yml CI: Don't auto-remove content based labels (#2941) 2024-03-12 09:11:13 +01:00
release.yml CI: update actions (#2943) 2024-03-13 08:25:51 +01:00
scan-build.yml CI: add static analysis for native code / cython (#2852) 2024-02-23 10:11:00 +01:00
strict-type-check.yml CI: pyright in github actions (#3121) 2024-04-16 23:03:30 +02:00
unittests.yml MultiServer, customserver, CI, Test: Fix problems in room hosting and test/simulate it (#3464) 2024-06-06 01:54:46 +02:00