Skip to content

ci: fix build.yml

ci: fix build.yml #104

Workflow file for this run

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