Add CI step to build with -DFLATBUFFERS_NO_FILE_TESTS. (#7729)

* Add CI step to build with -DFLATBUFFERS_NO_FILE_TESTS

* Fix cmake syntax

* Further fix cmake argumetns

* Add workaround for unused-parameter.

* Remove build matrix

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
engedy
2022-12-22 17:48:48 +01:00
committed by GitHub
parent b47ba1d5ff
commit 4e396d47bc
2 changed files with 13 additions and 0 deletions

View File

@@ -1511,6 +1511,9 @@ int FlatBufferTests(const std::string &tests_data_path) {
ParseIncorrectMonsterJsonTest(tests_data_path);
FixedLengthArraySpanTest(tests_data_path);
DoNotRequireEofTest(tests_data_path);
#else
// Guard against -Wunused-parameter.
(void)tests_data_path;
#endif
UtilConvertCase();