Fix path to rapidjson headers

This commit is contained in:
Syoyo Fujita 2020-05-30 02:19:47 +09:00
parent 014dce27f4
commit 50a3061ddf

View File

@ -87,12 +87,14 @@ jobs:
cd tests cd tests
g++ -I../ -std=c++11 -g -O0 -o tester tester.cc g++ -I../ -std=c++11 -g -O0 -o tester tester.cc
./tester ./tester
cd ..
- name: noexcept_tests - name: noexcept_tests
run: | run: |
cd tests cd tests
g++ -DTINYGLTF_NOEXCEPTION -I../ -std=c++11 -g -O0 -o tester_noexcept tester.cc g++ -DTINYGLTF_NOEXCEPTION -I../ -std=c++11 -g -O0 -o tester_noexcept tester.cc
./tester_noexcept ./tester_noexcept
cd ..
build-rapidjson-linux: build-rapidjson-linux:
@ -115,14 +117,16 @@ jobs:
- name: tests - name: tests
run: | run: |
cd tests 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 ./tester
cd ..
- name: noexcept_tests - name: noexcept_tests
run: | run: |
cd tests 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 ./tester_noexcept
cd ..
# Cross-compile for aarch64 linux target # Cross-compile for aarch64 linux target
build-cross-aarch64: build-cross-aarch64: