Skip to content

Support configurable polygon modes for shaders #132

Support configurable polygon modes for shaders

Support configurable polygon modes for shaders #132

Workflow file for this run

name: Nova CD pipeline
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
compiler: [gcc-10]
steps:
- uses: actions/checkout@v2
- name: Pull submodules
run: git submodule update --init --recursive
- name: Set scripts permissions
run: chmod +x ./bin/*
- name: Install dependencies
run: |
./bin/deps.sh
- name: Build
run: |
rm -f build && mkdir build && pushd build && cmake .. -DENABLE_TESTS=ON && make -j`nproc` && popd
env:
CC: /usr/bin/gcc-10
CXX: /usr/bin/g++-10
- name: Run unit tests
run: |
pushd build && make test && popd
- name: Build with coverage
run: |
mkdir cov_build && pushd cov_build && cmake .. -DENABLE_TESTS=ON -DENABLE_COVERAGE=ON && make -j`nproc` && popd
env:
CC: /usr/bin/gcc-10
CXX: /usr/bin/g++-10
- name: Run unit tests on coverage build
run: |
pushd cov_build && make test && popd
- name: Generate unit tests coverage
run: |
./bin/generate_ut_cov.sh
- name: Send raport to Codecov
uses: codecov/codecov-action@v1
with:
files: ./coverage.xml