-
-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (38 loc) · 1.03 KB
/
on-push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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