3434 - run : |
3535 python -m pip install --upgrade pip
3636 python -m pip install pytest pytest-xdist pytest-subtests jsonschema coverage codecov
37- # Use llvm-14 for now to fix llvm framework static tests, see
38- # https://github.com/Homebrew/discussions/discussions/3666#discussioncomment-3681821
39- - run : brew install pkg-config ninja llvm@14 qt@5
37+ - run : brew install pkg-config ninja llvm qt@5
4038 - env :
4139 CPPFLAGS : " -I/usr/local/include"
4240 LDFLAGS : " -L/usr/local/lib"
4543 # These cannot evaluate anything, so we cannot set PATH or SDKROOT here
4644 run : |
4745 export SDKROOT="$(xcodebuild -version -sdk macosx Path)"
48- export PATH="$HOME/tools:/usr/local/opt/qt@5/bin:$PATH:$(brew --prefix llvm@14 )/bin"
46+ export PATH="$HOME/tools:/usr/local/opt/qt@5/bin:$PATH:$(brew --prefix llvm)/bin"
4947 export PKG_CONFIG_PATH="/usr/local/opt/qt@5/lib/pkgconfig:$PKG_CONFIG_PATH"
5048 ./tools/run_with_cov.py ./run_unittests.py
5149 - name : Upload coverage report
7169 - uses : actions/checkout@v2
7270 # use python3 from homebrew because it is a valid framework, unlike the actions one:
7371 # https://github.com/actions/setup-python/issues/58
74- # Use llvm-14 for now to fix llvm framework static tests, see
75- # https://github.com/Homebrew/discussions/discussions/3666#discussioncomment-3681821
76- - run : brew install pkg-config ninja llvm@14 qt@5 boost ldc hdf5 openmpi lapack scalapack sdl2 python3 boost-python3 gtk-doc
72+ - run : brew install pkg-config ninja llvm qt@5 boost ldc hdf5 openmpi lapack scalapack sdl2 python3 boost-python3 gtk-doc
7773 - run : |
7874 python3 -m pip install --upgrade setuptools
7975 python3 -m pip install --upgrade pip
@@ -86,48 +82,37 @@ jobs:
8682 # These cannot evaluate anything, so we cannot set PATH or SDKROOT here
8783 run : |
8884 export SDKROOT="$(xcodebuild -version -sdk macosx Path)"
89- export PATH="$HOME/tools:/usr/local/opt/qt@5/bin:$PATH:$(brew --prefix llvm@14 )/bin"
85+ export PATH="$HOME/tools:/usr/local/opt/qt@5/bin:$PATH:$(brew --prefix llvm)/bin"
9086 export PKG_CONFIG_PATH="/usr/local/opt/qt@5/lib/pkgconfig:$PKG_CONFIG_PATH"
9187 export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"
9288 ./tools/run_with_cov.py ./run_project_tests.py --backend=ninja
9389 - name : Upload coverage report
9490 run : ./ci/upload_cov.sh "appleclang [project tests; unity=${{ matrix.unity }}]"
9591
96- Qt4_LLVM15_macos :
92+ Qt4macos :
9793 runs-on : macos-latest
9894 steps :
9995 - uses : actions/checkout@v2
10096 - uses : actions/setup-python@v2
10197 with :
10298 python-version : ' 3.x'
10399 - run : python -m pip install -e .
104- - run : brew install pkg-config ninja gcc llvm
100+ - run : brew install pkg-config ninja gcc
105101 - run : brew tap cartr/qt4
106102 - run : brew install qt@4
107103 - run : brew link qt@4
108- # qt4 tap seems to be broken
104+ # qt4 tap seems to be broken
109105 - run : ln -sfn /usr/local/Cellar/qt@4/4.8.7_6.reinstall /usr/local/Cellar/qt@4/4.8.7_6
110- - run : meson setup "test cases/frameworks/4 qt" build_qt -Drequired=qt4
111- - run : meson compile -C build_qt
106+ - run : meson setup "test cases/frameworks/4 qt" build -Drequired=qt4
107+ - run : meson compile -C build
112108 - uses : actions/upload-artifact@v1
113109 if : failure()
114110 with :
115111 name : Qt4_Mac_build
116- path : build_qt /meson-logs/meson-log.txt
117- - run : meson test -C build_qt -v
112+ path : build /meson-logs/meson-log.txt
113+ - run : meson test -C build -v
118114 - uses : actions/upload-artifact@v1
119115 if : failure()
120116 with :
121117 name : Qt4_Mac_test
122- path : build_qt/meson-logs/testlog.txt
123- # llvm-15 is broken, due to which static linking doesn't work
124- # https://github.com/mesonbuild/meson/pull/10879#issuecomment-1264524936
125- - run : |
126- export PATH="$PATH:$(brew --prefix llvm)/bin"
127- meson setup "test cases/frameworks/15 llvm" build_llvm -Dlink-static=false -Dmethod=config-tool
128- - run : meson compile -C build_llvm
129- - uses : actions/upload-artifact@v1
130- if : failure()
131- with :
132- name : LLVM15_Mac_build
133- path : build_llvm/meson-logs/meson-log.txt
118+ path : build/meson-logs/testlog.txt
0 commit comments