Skip to content

Commit

Permalink
CICD: Set user-space installation destination on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
RUrlus committed Jun 12, 2024
1 parent eab473d commit 6b6a35c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/install_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
python -m pip install numpy pytest
- name: Install CARMA
if: runner.os == 'Linux'
# if: runner.os == 'Linux'
run: |
mkdir build
cd build
Expand All @@ -136,14 +136,15 @@ jobs:
sudo cmake --build . --config Release --target install
- name: Install CARMA
if: runner.os != 'Linux'
if: matrix.os == 'macos-latest'
run: |
mkdir build
cd build
export PY_CMD=$(python -c 'import sys; print(sys.executable)')
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=~/.local/share \
-DCARMA_INSTALL_LIB=ON \
-DCMAKE_C_COMPILER=${{ matrix.config.cc }} \
-DCMAKE_CXX_COMPILER=${{ matrix.config.cxx }} \
Expand Down

0 comments on commit 6b6a35c

Please sign in to comment.