@@ -147,23 +147,19 @@ jobs:
147147 - uses : actions/checkout@v4
148148
149149 - name : Install the packages
150- run : brew install --overwrite fastfetch neofetch tree llvm
150+ run : HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install --overwrite fastfetch neofetch tree llvm@19
151151
152152 - name : uname -a && clang++ --version
153- run : |
154- printf 'export CXX=/opt/homebrew/opt/llvm/bin/clang++' >> /Users/runner/.bash_profile
155- printf 'export CC=/opt/homebrew/opt/llvm/bin/clang' >> /Users/runner/.bash_profile
156- printf 'export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"' >> /Users/runner/.bash_profile
157- printf 'export CXXFLAGS="-isystem/opt/homebrew/opt/llvm/include"' >> /Users/runner/.bash_profile
158- uname -a && clang++ --version
153+ run : uname -a && echo "\n" && $(brew --prefix llvm@19)/bin/clang++ --version
159154
160155 - name : Clean
161156 run : make distclean
162157
163158 - name : Compile and install
164159 run : |
160+ export CXX=$(brew --prefix llvm@19)/bin/clang++
165161 mkdir build && cd build
166- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr
162+ cmake .. -DCMAKE_BUILD_TYPE=Debug
167163 make
168164
169165 - name : Test neofetch
@@ -191,21 +187,17 @@ jobs:
191187 - uses : actions/checkout@v4
192188
193189 - name : Install the packages
194- run : brew install --overwrite fastfetch neofetch tree llvm gtkmm3
190+ run : HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install --overwrite fastfetch neofetch tree gtkmm3 llvm@19
195191
196192 - name : uname -a && clang++ --version
197- run : |
198- printf 'export CXX=/opt/homebrew/opt/llvm/bin/clang++' >> /Users/runner/.bash_profile
199- printf 'export CC=/opt/homebrew/opt/llvm/bin/clang' >> /Users/runner/.bash_profile
200- printf 'export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"' >> /Users/runner/.bash_profile
201- printf 'export CXXFLAGS="-isystem/opt/homebrew/opt/llvm/include"' >> /Users/runner/.bash_profile
202- uname -a && clang++ --version
193+ run : uname -a && echo "\n" && $(brew --prefix llvm@19)/bin/clang++ --version
203194
204195 - name : Clean
205196 run : make distclean
206197
207198 - name : Compile and install
208199 run : |
200+ export CXX=$(brew --prefix llvm@19)/bin/clang++
209201 mkdir build && cd build
210202 cmake .. -DCMAKE_BUILD_TYPE=Debug -DGUI_APP=1 -DCMAKE_INSTALL_PREFIX=/usr
211203 make
0 commit comments