Skip to content

Fixing release build unused variable error by adding conditional complation to the code run only for debug builds #604

Fixing release build unused variable error by adding conditional complation to the code run only for debug builds

Fixing release build unused variable error by adding conditional complation to the code run only for debug builds #604

name: C/C++ CI on Ubuntu 18:04
on:
push:
branches:
- master
- main
- dev
- dev/*
- release/*
- buildme/*
pull_request:
branches:
- master
- main
- dev
schedule:
- cron: 0 2 * * 1-5
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
config: [release, debug]
os: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v1
continue-on-error: true
- name: Test ${{ matrix.os }} ${{ matrix.config }}
run: ./build-tests.sh ${{ matrix.config }}