Skip to content

Commit d3f7cb2

Browse files
lsk567claude
andcommitted
Fix plugin install steps in CI workflow
Use build.sh --prefix during build phase rather than cmake --install --prefix. Rebuild with default prefix for system path installation. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 8cfb373 commit d3f7cb2

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,10 @@ jobs:
104104
restore-keys: |
105105
plugin-deps-${{ runner.os }}-
106106
107-
- name: Build plugin
108-
run: ./build.sh --log-level ${{ env.LOG_LEVEL }}
109-
110-
#===========================================
111-
# Install plugin to repo root ./install/
112-
# (for TracePluginUserPath.lf and TracePluginCustomCmake.lf)
113-
#===========================================
114-
- name: Install plugin to ./install/
115-
run: cmake --install build --prefix "${{ github.workspace }}/install"
107+
- name: Build and install plugin to ./install/
108+
run: |
109+
./build.sh --log-level ${{ env.LOG_LEVEL }} --prefix "${{ github.workspace }}/install"
110+
./build.sh --install
116111
117112
- name: Verify ./install/ contents
118113
run: |
@@ -123,13 +118,19 @@ jobs:
123118
# Install plugin to system path
124119
# (for TracePluginSystemPath.lf)
125120
#===========================================
126-
- name: Install plugin to system path (Linux)
121+
- name: Build and install plugin to system path (Linux)
127122
if: runner.os == 'Linux'
128-
run: sudo cmake --install build
123+
run: |
124+
./build.sh --log-level ${{ env.LOG_LEVEL }} --clean
125+
./build.sh --log-level ${{ env.LOG_LEVEL }}
126+
sudo ./build.sh --install
129127
130-
- name: Install plugin to system path (macOS)
128+
- name: Build and install plugin to system path (macOS)
131129
if: runner.os == 'macOS'
132-
run: cmake --install build
130+
run: |
131+
./build.sh --log-level ${{ env.LOG_LEVEL }} --clean
132+
./build.sh --log-level ${{ env.LOG_LEVEL }}
133+
./build.sh --install
133134
134135
- name: Verify system installation
135136
run: |

0 commit comments

Comments
 (0)