Skip to content

Add more configuration settings #20

Add more configuration settings

Add more configuration settings #20

Workflow file for this run

name: CPP CI
on:
pull_request:
concurrency:
# Cancel any CI/CD workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
group: build-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
build_windows:
strategy:
matrix:
configurations: [Debug, Release]
runs-on: windows-latest
env:
# Configuration type to build. For documentation on how build matrices work, see
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: ${{matrix.configurations}}
steps:
- uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
egress-policy: audit
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
cancel_others: 'false'
paths_ignore: '["**.md"]'
- uses: actions/checkout@v4
if: steps.skip_check.outputs.should_skip != 'true'
with:
submodules: 'recursive'
- name: Build
if: steps.skip_check.outputs.should_skip != 'true'
run: |
dotnet build OrcanodeMonitor.sln /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform="Any CPU"