Skip to content

Commit 91938bd

Browse files
author
AhmedYasserrr
committed
refactor: update build workflow
1 parent b141348 commit 91938bd

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ jobs:
5050
uses: actions/upload-artifact@v4
5151
with:
5252
name: ectool-linux
53-
path: _build/src/core/ectool
53+
path: |
54+
_build/src/core/ectool
55+
_build/src/core/libectool.so
5456
5557
build-windows:
5658
runs-on: windows-2022
@@ -63,12 +65,18 @@ jobs:
6365
run: |
6466
mkdir _build
6567
cd _build
66-
& "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -A x64 -T ClangCL ..
68+
cmake -G "Ninja" -A x64 -T ClangCL ..
6769
6870
- name: Build
6971
run: |
7072
cd _build
71-
& "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --build . --config RelWithDebInfo --parallel
73+
& cmake --build . --config RelWithDebInfo --parallel
74+
75+
- name: List built files
76+
run: |
77+
echo "::group::Built Files"
78+
find _build -type f
79+
echo "::endgroup::"
7280
7381
- name: Upload artifact
7482
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)