Commit Graph

14615 Commits (f2a56cc1e2c11e8e961740f35340f3b19f100b23)
 

Author SHA1 Message Date
Myk f2a56cc1e2
Merge pull request #3625 from myk002/myk_tests
re-enable unit tests
2023-08-04 12:20:11 -07:00
Myk Taylor d93bf65115
fix typo 2023-08-04 10:25:49 -07:00
Myk Taylor 4c89af7c20
targets -> target 2023-08-04 10:11:28 -07:00
Myk Taylor a6de9a21fa
enable most core tests 2023-08-04 10:11:28 -07:00
Myk Taylor f8dd09200f
enable remaining core and structures tests 2023-08-04 10:11:28 -07:00
DFHack-Urist via GitHub Actions 1cf3f62237 Auto-update submodules
library/xml: master
2023-08-04 17:10:51 +00:00
Myk Taylor 66107b40e3
fix windows build when called from other repos 2023-08-04 10:04:55 -07:00
DFHack-Urist via GitHub Actions 4c2e7721e1 Auto-update submodules
library/xml: master
scripts: master
2023-08-04 07:12:54 +00:00
Myk Taylor 10525aa6ae
fix name of job 2023-08-03 23:53:45 -07:00
Myk 3599403f21
Merge pull request #3622 from myk002/myk_test_test
first attempt to run tests on windows
2023-08-03 23:05:46 -07:00
Myk Taylor d3884bd707
run ./dfhack instead of ./dwarfort on linux so we can see output
since we set the tty params
2023-08-03 22:52:17 -07:00
Myk Taylor e3161b8a4d
enable some core tests 2023-08-03 22:48:43 -07:00
Myk Taylor f28b46922c
put all tests in a matrix 2023-08-03 22:48:23 -07:00
Myk Taylor 081e938301
test RPC interface 2023-08-03 22:48:23 -07:00
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