Skip to content

Commit 40c7cb4

Browse files
author
AhmedYasserrr
committed
refactor: update build workflow and paths in README
1 parent 91938bd commit 40c7cb4

File tree

2 files changed

+3
-35
lines changed

2 files changed

+3
-35
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -52,36 +52,4 @@ jobs:
5252
name: ectool-linux
5353
path: |
5454
_build/src/core/ectool
55-
_build/src/core/libectool.so
56-
57-
build-windows:
58-
runs-on: windows-2022
59-
steps:
60-
- uses: actions/checkout@v4
61-
with:
62-
submodules: recursive
63-
64-
- name: Configure CMake
65-
run: |
66-
mkdir _build
67-
cd _build
68-
cmake -G "Ninja" -A x64 -T ClangCL ..
69-
70-
- name: Build
71-
run: |
72-
cd _build
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::"
80-
81-
- name: Upload artifact
82-
uses: actions/upload-artifact@v4
83-
with:
84-
name: ectool-windows
85-
path: |
86-
_build/src/core/RelWithDebInfo/ectool.exe
87-
_build/src/core/RelWithDebInfo/ectool.pdb
55+
_build/src/core/libectool.so

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ After building, you need to move `libectool.so` to a library directory where it
2020
### Option 1 — User-specific (Recommended for non-root users)
2121
```sh
2222
mkdir -p ~/.local/lib
23-
cp src/libectool.so ~/.local/lib/libectool.so
23+
cp src/core/libectool.so ~/.local/lib/libectool.so
2424
export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
2525
```
2626
To make it persistent across sessions, add the export to your shell configuration:
@@ -29,5 +29,5 @@ echo 'export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"' >> ~/.bashrc
2929
```
3030
### Option 2 — Global installation
3131
```sh
32-
sudo cp src/libectool.so /usr/local/lib/libectool.so
32+
sudo cp src/core/libectool.so /usr/local/lib/libectool.so
3333
```

0 commit comments

Comments
 (0)