mirror of
https://github.com/redstrate/Novus.git
synced 2025-05-19 14:47:46 +00:00
Use an install prefix
This commit is contained in:
parent
57104a559e
commit
7564b3483e
1 changed files with 2 additions and 1 deletions
3
.github/workflows/cmake-multi-platform.yml
vendored
3
.github/workflows/cmake-multi-platform.yml
vendored
|
@ -40,6 +40,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
|
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
|
||||||
|
echo "prefix-dir=${{ github.workspace }}/prefix" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Clone ECM
|
- name: Clone ECM
|
||||||
run: |
|
run: |
|
||||||
|
@ -47,7 +48,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build and install ECM
|
- name: Build and install ECM
|
||||||
run: |
|
run: |
|
||||||
cmake -B ${{ steps.strings.outputs.build-output-dir }}-ECM -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S extra-cmake-modules
|
cmake -B ${{ steps.strings.outputs.build-output-dir }}-ECM -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S extra-cmake-modules -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }}
|
||||||
cmake --install ${{ steps.strings.outputs.build-output-dir }}-ECM
|
cmake --install ${{ steps.strings.outputs.build-output-dir }}-ECM
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
Loading…
Add table
Reference in a new issue