Skip to content

Fix unused variable warning in release mode #10

Fix unused variable warning in release mode

Fix unused variable warning in release mode #10

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: ilammy/msvc-dev-cmd@v1
if: runner.os == 'Windows'
- name: Generating Makefiles
shell: bash
run: |
if [[ "${{ runner.os }}" == "Windows" ]] ; then
cmake . -G "NMake Makefiles"
else
cmake . -G "Unix Makefiles"
fi
- name: Compiling
shell: bash
run: |
if [[ "${{ runner.os }}" == "Windows" ]] ; then
nmake
else
make
fi