Skip to content

Commit 2467147

Browse files
committed
expand metis path
1 parent b8eb07e commit 2467147

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/test-python-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
ls
5050
METIS_ROOT="${{ runner.workspace }}/installs"
5151
sed -i '' '/cmake\.args = \[/,/\]/{
52-
s/"-DPYTHON_BUILD_SETUP=ON"/"-DPYTHON_BUILD_SETUP=ON",\
52+
s|"-DPYTHON_BUILD_SETUP=ON"|"-DPYTHON_BUILD_SETUP=ON",\
5353
"-DHIPO=ON",\
54-
"-DMETIS_ROOT=$METIS_ROOT"/
54+
"-DMETIS_ROOT='"$METIS_ROOT"'"|
5555
}' pyproject.toml
5656
cat pyproject.toml
5757

.github/workflows/test-python-ubuntu.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ jobs:
4848
ls
4949
METIS_ROOT="${{ runner.workspace }}/installs"
5050
sed -i '/cmake\.args = \[/,/\]/{
51-
s/"-DPYTHON_BUILD_SETUP=ON"/"-DPYTHON_BUILD_SETUP=ON",\n "-DHIPO=ON",\n "-DMETIS_ROOT=$METIS_ROOT"/
51+
s|"-DPYTHON_BUILD_SETUP=ON"|"-DPYTHON_BUILD_SETUP=ON",\
52+
"-DHIPO=ON",\
53+
"-DMETIS_ROOT='"$METIS_ROOT"'"|
5254
}' pyproject.toml
5355
cat pyproject.toml
5456

0 commit comments

Comments
 (0)