mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-02 13:15:11 +08:00
Add gcc-4.8 build job.
This commit is contained in:
parent
ddfa1f2f0b
commit
db5c3bea45
26
.github/workflows/c-cpp.yml
vendored
26
.github/workflows/c-cpp.yml
vendored
@ -4,6 +4,32 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
# compile with older gcc4.8
|
||||||
|
build-gcc48:
|
||||||
|
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
name: Build with gcc 4.8
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y build-essential
|
||||||
|
sudo apt-get install -y gcc-4.8 g++-4.8
|
||||||
|
g++-4.8 -std=c++11 -o loader_example loader_example.cc
|
||||||
|
|
||||||
|
- name: NoexceptBuild
|
||||||
|
run: |
|
||||||
|
g++-4.8 -DTINYGLTF_NOEXCEPTION -std=c++11 -o loader_example loader_example.cc
|
||||||
|
|
||||||
|
- name: RapidjsonBuild
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/Tencent/rapidjson
|
||||||
|
g++-4.8 -DTINYGLTF_USE_RAPIDJSON -I./rapidjson/include/rapidjson -std=c++11 -o loader_example loader_example.cc
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user