From 50a3061ddf0540ef837c63df8e4ac48c64b7c113 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Sat, 30 May 2020 02:19:47 +0900 Subject: [PATCH] Fix path to rapidjson headers --- .github/workflows/c-cpp.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 2c45220..ffb0822 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -87,12 +87,14 @@ jobs: cd tests g++ -I../ -std=c++11 -g -O0 -o tester tester.cc ./tester + cd .. - name: noexcept_tests run: | cd tests g++ -DTINYGLTF_NOEXCEPTION -I../ -std=c++11 -g -O0 -o tester_noexcept tester.cc ./tester_noexcept + cd .. build-rapidjson-linux: @@ -115,14 +117,16 @@ jobs: - name: tests run: | cd tests - g++ -DTINYGLTF_USE_RAPIDJSON -I../../rapidjson/include/rapidjson -I../ -std=c++11 -g -O0 -o tester tester.cc + g++ -DTINYGLTF_USE_RAPIDJSON -I../rapidjson/include/rapidjson -I../ -std=c++11 -g -O0 -o tester tester.cc ./tester + cd .. - name: noexcept_tests run: | cd tests - g++ -DTINYGLTF_USE_RAPIDJSON -I../../rapidjson/include/rapidjson -DTINYGLTF_NOEXCEPTION -I../ -std=c++11 -g -O0 -o tester_noexcept tester.cc + g++ -DTINYGLTF_USE_RAPIDJSON -I../rapidjson/include/rapidjson -DTINYGLTF_NOEXCEPTION -I../ -std=c++11 -g -O0 -o tester_noexcept tester.cc ./tester_noexcept + cd .. # Cross-compile for aarch64 linux target build-cross-aarch64: