Skip to content

Commit 47a60af

Browse files
committed
fix failing artifact upload + build in release mode + run CI on PR
1 parent d836ad2 commit 47a60af

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/build-ubuntu.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build (Ubuntu)
22
on:
33
push:
4+
pull_request:
45
jobs:
56
build-project:
67
name: Build Project
@@ -11,9 +12,14 @@ jobs:
1112

1213
- name: Build Project
1314
uses: threeal/[email protected]
15+
with:
16+
options: |
17+
CMAKE_BUILD_TYPE=Release
18+
build-args: |
19+
--config Release
1420
1521
- name: Deploy Project
1622
uses: actions/upload-artifact@v4
1723
with:
18-
name: run-cppcheck
24+
name: run-cppcheck-linux-x86_64
1925
path: build/run-cppcheck

.github/workflows/build-windows.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build (Windows)
22
on:
33
push:
4+
pull_request:
45
jobs:
56
build-project:
67
name: Build Project
@@ -11,9 +12,14 @@ jobs:
1112

1213
- name: Build Project
1314
uses: threeal/[email protected]
15+
with:
16+
options: |
17+
CMAKE_BUILD_TYPE=Release
18+
build-args: |
19+
--config Release
1420
1521
- name: Deploy Project
1622
uses: actions/upload-artifact@v4
1723
with:
1824
name: run-cppcheck-windows
19-
path: build/run-cppcheck.exe
25+
path: build\Release\run-cppcheck.exe

0 commit comments

Comments
 (0)