You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/mcstas-basictest.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -92,8 +92,8 @@ jobs:
92
92
mkdir build_mcstas
93
93
cd build_mcstas
94
94
export EXTRA_ARGS_FOR_CMAKE=""
95
-
if [ "$RUNNER_OS" == "macOS" ] && [ -d "/opt/homebrew/opt" ]; then export HOMEBRW="/opt/homebrew/opt"; fi
96
-
if [ "$RUNNER_OS" == "macOS" ] && [ -d "/usr/local/opt" ]; then export HOMEBRW="/usr/local/opt"; fi
95
+
if [ "$RUNNER_OS" == "macOS" ] && [ -f "/opt/homebrew/opt/flex/bin/flex" ]; then export HOMEBRW="/opt/homebrew/opt"; fi
96
+
if [ "$RUNNER_OS" == "macOS" ] && [ -f "/usr/local/opt/flex/bin/flex" ]; then export HOMEBRW="/usr/local/opt"; fi
97
97
if [ "$RUNNER_OS" == "macOS" ]; then export EXTRA_ARGS_FOR_CMAKE="-DBISON_EXECUTABLE=${HOMEBRW}/bison/bin/bison -DFLEX_EXECUTABLE=${HOMEBRW}/flex/bin/flex"; fi
98
98
if [ "$RUNNER_OS" == "Linux" ]; then export EXTRA_ARGS_FOR_CMAKE="-DNEXUSLIB=/usr/lib -DNEXUSINCLUDE=/usr/include/nexus"; fi
0 commit comments