Skip to content

Commit 6d62885

Browse files
committed
fix(CI): In the pipeline we only can install on linux and need to pass the prefix to avoid permission issues
1 parent 2e97417 commit 6d62885

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/pipeline.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
run: ctest --output-on-failure --test-dir build -j `nproc`
7575

7676
- name: Run install
77-
run: cmake --install build
77+
run: cmake --install build --prefix .
7878

7979

8080
windows-build:
@@ -119,9 +119,6 @@ jobs:
119119
run: ctest --output-on-failure --test-dir build -j %NUMBER_OF_PROCESSORS%
120120
shell: cmd
121121

122-
- name: Run install
123-
run: cmake --install build
124-
125122
macos-builds:
126123
name: macos ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}}
127124
runs-on: macos-12
@@ -169,9 +166,6 @@ jobs:
169166
working-directory: ${{runner.workspace}}
170167
run: ctest --output-on-failure --test-dir build -j `sysctl -n hw.ncpu` -V
171168

172-
- name: Run install
173-
run: cmake --install build
174-
175169
format-check:
176170
runs-on: ubuntu-latest
177171

0 commit comments

Comments
 (0)