Updated meshoptimizer.

This commit is contained in:
Бранимир Караџић
2019-10-06 22:44:14 -07:00
parent 49233e72c7
commit ee8989e416
7 changed files with 136 additions and 65 deletions

View File

@@ -3,8 +3,12 @@ name: build
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
unix:
strategy:
matrix:
os: [ubuntu, macos]
name: ${{matrix.os}}
runs-on: ${{matrix.os}}-latest
steps:
- uses: actions/checkout@v1
- name: make test
@@ -18,27 +22,10 @@ jobs:
make -j2 config=coverage test
find . -type f -name '*.gcno' -exec gcov -p {} +
sed -i -e "s/#####\(.*\)\(\/\/ unreachable.*\)/ -\1\2/" *.gcov
bash <(curl -s https://codecov.io/bash) -f 'src#*.gcov' -X search -t ${{secrets.CODECOV_TOKEN}}
bash <(curl -s https://codecov.io/bash) -f 'src#*.gcov' -X search -t ${{secrets.CODECOV_TOKEN}} -B ${{github.ref}}
- uses: actions/upload-artifact@v1
with:
name: gltfpack-linux
path: gltfpack
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: make test
run: |
make -j2 config=sanitize test
make -j2 config=debug test
make -j2 config=release test
make -j2 config=release gltfpack
- name: make iphone
run: make -j2 config=iphone
- uses: actions/upload-artifact@v1
with:
name: gltfpack-macos
name: gltfpack-${{matrix.os}}
path: gltfpack
windows: