mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-10 02:55:26 +00:00
Updated meshoptimizer.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user