1
Fork 0
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:
Joshua Goins 2024-04-23 16:00:40 -04:00
parent 57104a559e
commit 7564b3483e

View file

@ -40,6 +40,7 @@ jobs:
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
echo "prefix-dir=${{ github.workspace }}/prefix" >> "$GITHUB_OUTPUT"
- name: Clone ECM
run: |
@ -47,7 +48,7 @@ jobs:
- name: Build and install ECM
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
- uses: actions/checkout@v3