Skip to content

feat(engine): allow getting the type of an asset #304

feat(engine): allow getting the type of an asset

feat(engine): allow getting the type of an asset #304

name: 📃 Create Coverage Report
on: [push]
env:
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install xorg-dev libglu1-mesa-dev gcc-11 g++-11 lcov
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_COVERAGE=ON -DBUILD_CORE_TESTS=ON
shell: bash
env:
CC: gcc-11
CXX: g++-11
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target coverage
- name: Upload
run: bash <(curl -s https://codecov.io/bash) -f ${{github.workspace}}/build/coverage.info