mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-08-01 19:08:54 +00:00
33 lines
670 B
YAML
33 lines
670 B
YAML
name: C/C++ CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build-linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
name: Buld with gcc
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: build
|
|
run: |
|
|
g++ -std=c++11 -o loader_example loader_example.cc
|
|
- name: test
|
|
./loader_example
|
|
|
|
build-rapidjson-linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
name: Buld with gcc + rapidjson
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: build
|
|
run: |
|
|
git clone https://github.com/Tencent/rapidjson
|
|
g++ -DTINYGLTF_USE_RAPIDJSON -I./rapidjson/include/rapidjson -std=c++11 -o loader_example loader_example.cc
|
|
- name: test
|
|
./loader_example
|