Commit Graph

19 Commits

Author SHA1 Message Date
Syoyo Fujita
9d09d4c76f Run v3 C tests with CMake and Meson 2026-06-01 18:31:49 +09:00
Syoyo Fujita
d5a63adb47 CI: bump GitHub Actions to Node.js 24 versions
Silence the deprecation warnings reported on
https://github.com/syoyo/tinygltf/actions/runs/25610558215 by upgrading
all `actions/checkout` usages from v1/v2/v3/v4 to v5 (Node 24 runtime)
and the CodeQL actions from v2 to v3.

msys2/setup-msys2 stays at v2 — it's the latest tag.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 05:34:39 +09:00
Syoyo Fujita
e32724d4cd Run v3 C tests in GitHub CI
ci.yml: two new jobs.
  - v3-c-tests builds tester_v3_c (security regressions) and
    tester_v3_c_v1port (18 ported v1 unit tests) with the default
    system cc (gcc on ubuntu-latest) and runs both.
  - v3-c-tests-sanitizers rebuilds the same suites under clang with
    -fsanitize=address,undefined and ASAN_OPTIONS=halt_on_error=1 plus
    leak detection so memory-safety regressions break CI.

c-cpp.yml: add a v3_c_tests step to build-linux so the legacy gcc
workflow also exercises the v3 C parser end-to-end.

Both invoke the parser via parse_auto with TINYGLTF3_ENABLE_FS so the
external-file paths (and the new path-traversal/file-size guards)
are exercised end-to-end.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 03:56:13 +09:00
Syoyo Fujita
8c8f9bc243 Deprecate ubuntu-18.04 image and update CI build configuration. 2023-04-10 18:51:29 +09:00
Syoyo Fujita
5ec798ece7 VS2019 seems gone. Use VS2022. 2022-02-25 01:39:02 +09:00
Syoyo Fujita
fec371c44a Print cmake help 2022-02-25 01:25:15 +09:00
Syoyo Fujita
1f15dc9908 Specify x64 for MSVC build. 2022-02-25 01:11:51 +09:00
Syoyo Fujita
39d3e0db00 Build validator for MSVC build. 2020-05-30 02:28:58 +09:00
Syoyo Fujita
41e208990a Build examples for VS2019 build job. 2020-05-30 02:21:07 +09:00
Syoyo Fujita
2a0e7211b9 Fix path to rapidjson headers 2020-05-30 02:19:47 +09:00
Syoyo Fujita
b46104daff Add VS2019 build job. 2020-05-30 02:16:41 +09:00
Syoyo Fujita
defaf381b5 Add mingw build job 2020-05-30 02:12:48 +09:00
Syoyo Fujita
99b0d6abb5 Add argument to loader_example run 2020-05-30 02:07:00 +09:00
Syoyo Fujita
b97f2c3225 add aarch64 cross compile and macos build job. 2020-05-30 02:04:06 +09:00
Syoyo Fujita
d87f2bdd23 Fix yaml syntax. 2020-05-30 02:00:03 +09:00
Syoyo Fujita
d574e858cf Add gcc-4.8 build job. 2020-05-30 01:59:02 +09:00
Syoyo Fujita
a33b33c192 Fix workflow 2020-05-30 01:56:35 +09:00
Syoyo Fujita
362af687ed Add rapidjson build job 2020-05-29 22:21:24 +09:00
Syoyo Fujita
ceccca0106 Create github actions workflow 2020-05-29 20:57:39 +09:00