Skip to content

Eliminating few compile time warnings #25

Eliminating few compile time warnings

Eliminating few compile time warnings #25

Workflow file for this run

name: Build
on:
push:
branches:
- dev
pull_request:
types: [opened, synchronize, reopened]
branches:
- dev
jobs:
build:
name: Build
runs-on: windows-latest
env:
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up msbuild
uses: microsoft/setup-msbuild@v2
- name: Install sonar-scanner and build-wrapper
uses: sonarsource/sonarcloud-github-c-cpp@v3
- name: Run sonar-scanner
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} # Put the name of your token here
run: |
sonar-scanner \
--define sonar.inclusions="opennn/opennn/**/*.cpp,opennn/opennn/**/*.h"