@@ -40,26 +40,14 @@ jobs:
4040 run : brew update-reset
4141 - name : Brew update
4242 run : brew update
43- - name : Install clang / LLVM 15.0.0
44- run : |
45- set -x
46- brew install --force wget
47- mkdir -p /tmp/clang
48- cd /tmp/clang
49- wget https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.0/clang+llvm-15.0.0-x86_64-apple-darwin.tar.xz -O clang-15.0.0.tar.xz
50- ls
51- tar -xvf clang-15.0.0.tar.xz -C ~
52- cd ~
53- mv clang+llvm-15.0.0-x86_64-apple-darwin clang-15.0.0
54- ~/clang-15.0.0/bin/clang++ --version
5543 - name : Brew install DeJaVu fonts
5644 run : brew install --cask font-dejavu
57- - name : Remove python's 2to3 link so that 'brew link' does not fail
58- run : rm /usr/local/bin/2to3* && rm /usr/local/bin/idle3*
5945 - name : Install environment helpers with homebrew
6046 run : brew install --force ccache
61- - name : Install dependencies with homebrew
62- run : brew install --force libepoxy freetype fontconfig harfbuzz opus opusfile qt6 libogg libpng toml11 eigen
47+ - name : Install LLVM with homebrew
48+ run : brew install --force llvm
49+ - name : Install openage dependencies with homebrew
50+ run : brew install --force cmake python3 libepoxy freetype fontconfig harfbuzz opus opusfile qt6 libogg libpng toml11 eigen
6351 - name : Install nyan dependencies with homebrew
6452 run : brew install --force flex make
6553 - name : Install python3 packages
6856 # numpy pulls gcc as dep? and pygments doesn't work.
6957 run : pip3 install --upgrade --break-system-packages cython numpy mako lz4 pillow pygments setuptools toml
7058 - name : Configure
71- run : |
72- CLANG_PATH="$HOME/clang-15.0.0/bin/clang++"
73- ./configure --compiler="$CLANG_PATH" --mode=debug --ccache --download-nyan
59+ run : ./configure --compiler="$(brew --prefix llvm)/bin/clang" --mode=release --ccache --download-nyan
7460 - name : Build
7561 run : make -j$(sysctl -n hw.logicalcpu) VERBOSE=1
7662 - name : Test
0 commit comments