WIP: #40 Refactoring for code quality and memory safety (TEST PR) #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On Push | |
permissions: write-all | |
on: | |
pull_request: | |
branches: [ "main", "dev" ] | |
push: | |
branches: [ "main", "dev", "feature/*", "bugfix/*" ] | |
paths-ignore: | |
- 'README.md' | |
- 'docs/**' | |
jobs: | |
build-debug: | |
name: Build Debug | |
uses: ./.github/workflows/build.yml | |
secrets: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} | |
with: | |
cmake-preset: x86-debug | |
upload-artifact-dll: debug-dll | |
upload-artifact-dll-pdb: debug-dll-pdb | |
upload-artifact-vdf: debug-vdf | |
enable-sonar: true | |
notify-tests: true | |
build-release: | |
name: Build Release | |
uses: ./.github/workflows/build.yml | |
with: | |
cmake-preset: x86-release | |
upload-artifact-dll: release-dll | |
upload-artifact-vdf: release-vdf | |
build-release-pdb: | |
name: Build RelWithDebInfo | |
uses: ./.github/workflows/build.yml | |
with: | |
cmake-preset: x86-relwithdebinfo | |
upload-artifact-dll-pdb: relwithdebinfo-dll | |
upload-artifact-vdf: relwithdebinfo-vdf |