We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d989be commit b6fcc66Copy full SHA for b6fcc66
.github/workflows/posix.yml
@@ -99,9 +99,10 @@ jobs:
99
brew reinstall gcc
100
brew install coreutils
101
brew install llvm
102
- ls /usr/local/Cellar/gcc
103
- echo "/usr/local/Cellar/gcc/14.2.0_1/bin" >>$GITHUB_PATH
104
- echo "CC=/usr/local/Cellar/gcc/14.2.0_1/bin/gcc-14" >> $GITHUB_ENV;
+ ver=$(ls /usr/local/Cellar/gcc)
+ cc=$(ls /usr/local/Cellar/gcc/$ver/bin/gcc-1*)
+ echo "/usr/local/Cellar/gcc/$ver/bin" >>$GITHUB_PATH
105
+ echo "CC=$cc" >> $GITHUB_ENV;
106
echo "RANLIB=/usr/bin/ranlib" >> $GITHUB_ENV;
107
108
0 commit comments