Myk Taylor
ec461bcce5
zero tests mean pass
2023-08-03 22:48:23 -07:00
Myk Taylor
43a1fdc69c
only run tests for registered and available targets
2023-08-03 22:48:23 -07:00
Myk Taylor
6c4662d12c
set a timeout for the test step
2023-08-03 22:48:23 -07:00
Myk Taylor
2b7865a0e4
actually install the tests for the test action
2023-08-03 22:48:22 -07:00
Myk Taylor
5f5981f067
fix path creation
2023-08-03 22:48:22 -07:00
Myk Taylor
775c60bed3
reduce windows cache size
2023-08-03 22:48:22 -07:00
Myk Taylor
556c1eff92
adapt to new DF init paths
2023-08-03 22:48:22 -07:00
Myk Taylor
27b5d1e022
more windows fixups
2023-08-03 22:48:22 -07:00
Myk Taylor
59a2d3a524
fix env setting on windows
2023-08-03 22:48:22 -07:00
Myk Taylor
819cd53e1d
trim windows test build
2023-08-03 22:48:22 -07:00
Myk Taylor
55f1b0d48e
first attempt to run tests on windows
2023-08-03 22:48:22 -07:00
lethosor
1411c5e8aa
Disable RPC API docs for plugins that aren't currently built
...
This allows ci/check-rpc.py to pass, and will cause it to fail if the plugins
are re-enabled and we forget to un-disable the docs.
2023-08-04 01:28:15 -04:00
lethosor
b17ca80d27
Also parse .proto files in plugin subdirectories
...
Followup fix for #3184
2023-08-04 01:18:21 -04:00
lethosor
8511775dbb
Add separators for readability
2023-08-04 01:12:50 -04:00
Myk
5edf85d555
Merge pull request #3620 from myk002/myk_no_buildmaster
...
remove buildmaster integration files
2023-08-03 20:10:11 -07:00
Myk
1702c5e364
Merge pull request #3621 from myk002/myk_reusable
...
make jobs reusable for other repos
2023-08-03 01:31:39 -07:00
Myk Taylor
07ba950252
make tests reusable
2023-08-03 01:23:36 -07:00
Myk Taylor
088c7a17b7
prep for building from structures repo
2023-08-03 01:09:57 -07:00
Myk Taylor
f5dfa03c49
use new var names in deploy actions
2023-08-03 00:57:55 -07:00
Myk Taylor
fbbadf76ff
only explicitly clone the scripts repo if a ref is given
2023-08-03 00:53:39 -07:00
Myk Taylor
0baa605069
make linux build reusable for scripts repo
2023-08-03 00:48:38 -07:00
Myk Taylor
38d17cbdce
make lint job reusable
2023-08-03 00:25:20 -07:00
Myk Taylor
88dd273803
remove buildmaster integration files
2023-08-02 23:33:07 -07:00
Myk Taylor
794bcc67b0
fix windows build vars for github release
2023-08-02 20:52:05 -07:00
lethosor
1f9b248f8a
check-structures-sanity: add no-op handler for std::map
2023-08-02 23:49:10 -04:00
lethosor
5c4175e3c3
Update xml
2023-08-02 22:58:09 -04:00
lethosor
027d69daad
Merge remote-tracking branch 'lethosor/codegen-new-types' into develop
2023-08-02 22:58:00 -04:00
lethosor
8b786b4344
Forward-declare types only used in DataIdentity.cpp
2023-08-02 00:15:27 -04:00
lethosor
2f42745175
Add identity_traits<condition_variable>, add macro for opaque identities
2023-08-02 00:15:27 -04:00
lethosor
eb12ff17f6
Refactor: move static identity_traits to their own file, simplify field defs
...
DataStaticsFields.cpp used to contain identity_traits specializations for
primitive and opaque STL types, as well as macros used for the generated struct
field definitions. Only one of these were actually used in any compilation unit,
and the identity_traits definitions were hidden behind a guard to prevent them
from being compiled at all when building the struct field definitions.
Now, the identity_traits specializations live in their own file,
DataIdentity.cpp (matching their declarations, which live in DataIdentity.h).
This speeds up build times because modifying these specializations no longer
requires rebuilding all of the field definitions unnecessarily.
2023-08-02 00:15:26 -04:00
lethosor
d0250ae426
Update allocator_try_assign() to match behavior of fstream allocator for non-copyable types
...
Looks like the choice we have made here previously is to return NULL if
attempting to allocate types that we cannot allocate.
2023-08-02 00:15:26 -04:00
lethosor
6fbb22e912
Add missing instantion for identity_traits<std::mutex>, refactor code shared with fstream identity
2023-08-02 00:15:26 -04:00
lethosor
7c4d9364a2
Make allocator_fn compile for non-copy-assignable types like std::mutex
2023-08-02 00:15:26 -04:00
lethosor
e5bc4b3221
Add identity for std::mutex
2023-08-02 00:15:25 -04:00
Myk Taylor
69986a4bf7
autodeploy to steam on tag
2023-08-01 00:11:46 -07:00
DFHack-Urist via GitHub Actions
a299f0b5fb
Auto-update submodules
...
library/xml: master
scripts: master
2023-08-01 06:33:09 +00:00
Myk
876de86066
Merge pull request #3616 from lethosor/check-structures-sanity-fix-string-cxx11
...
check-structures-sanity: update detection for GCC C++11 std::string
2023-07-31 23:13:31 -07:00
lethosor
a3916cdbb6
check-structures-sanity: update detection for GCC C++11 std::string
2023-08-01 01:54:35 -04:00
lethosor
0c6441619f
Re-enable build of check-structures-sanity
2023-08-01 00:59:52 -04:00
lethosor
94dae7a1f1
dts::make_unique -> std::make_unique in unbuilt plugins
...
Followup to #3537
2023-08-01 00:59:26 -04:00
lethosor
e0a9626876
Merge remote-tracking branch 'lethosor/cmake-plugin-flags-devel' into develop
2023-08-01 00:55:46 -04:00
lethosor
199191e9d4
Re-add BUILD_SUPPORTED flag so that devel plugins can be built by themselves
2023-08-01 00:52:22 -04:00
lethosor
031a61a436
Re-enable devel plugins that compile
2023-08-01 00:52:22 -04:00
lethosor
9984dfef6e
Merge remote-tracking branch 'lethosor/fix-linux-plugins-cxx11abi' into develop
2023-08-01 00:51:24 -04:00
lethosor
9f168214dd
Merge remote-tracking branch 'lethosor/fix-textures-cleanup-segfault' into develop
2023-08-01 00:35:19 -04:00
lethosor
73f96209da
Fix mangling of `plugin_globals` with GCC's C++11 ABI
...
Without being declared with `extern "C"`, `plugin_globals` is mangled, with a
`cxx11` suffix.
We can't add `extern "C"` to the `DFhackDataExport` macro because GCC does not
allow initializing any `extern` variables inline, including `extern "C"`.
2023-08-01 00:33:20 -04:00
lethosor
b36bd9b2d6
Merge remote-tracking branch 'origin/pre-commit-ci-update-config' into develop
2023-08-01 00:27:37 -04:00
lethosor
6e54210a66
Merge remote-tracking branch 'lethosor/fix-global-crash' into develop
2023-08-01 00:22:01 -04:00
pre-commit-ci[bot]
f44bbe1581
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.23.2 → 0.23.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.23.2...0.23.3 )
2023-08-01 04:21:22 +00:00
lethosor
e2ca506e23
Fix off-by-one error in Textures::cleanup()
...
In a ASCII-only configuration, I was seeing `textures.raws.size() == 164` and
`texpos_end == 164`. This resulted in reading one item past the end of the
vector.
This may not be occurring in configurations with graphics enabled, or
Windows/WINE may be more permissive.
2023-08-01 00:13:09 -04:00