From 7e26398dee7bbef656f5fdc626911925a785f12d Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Sat, 29 Jan 2022 13:43:22 +0100 Subject: [PATCH] Update CI (#14) Dropping broken versions of GCC on MacOS. - GCC 5 is not installable anymore on MacOS brew install gcc@5 gcc@5: This formula either does not compile or function as expected on macOS versions newer than High Sierra due to an upstream incompatibility. Error: gcc@5: An unsatisfied requirement failed this build. - gcov on MacOS is currently shaky with meson Traceback (most recent call last): File "/Users/runner/hostedtoolcache/Python/3.8.12/x64/bin/gcovr", line 8, in sys.exit(main()) File "/Users/runner/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/gcovr/__main__.py", line 280, in main error_occurred = print_reports(covdata, options, logger) File "/Users/runner/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/gcovr/__main__.py", line 432, in print_reports if generator(covdata, output.abspath, options): File "/Users/runner/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/gcovr/writer/html.py", line 397, in print_html_report max_line_from_cdata = max(cdata.lines.keys()) ValueError: max() arg is an empty sequence Traceback (most recent call last): - GCC 6 is broken on MacOS /usr/local/bin/gcc -isysroot /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -mmacosx-version-min=11.6 -o CMakeFiles/cmTC_09a2b.dir/testCCompiler.c.o -c /Users/runner/work/nlopt-f/nlopt-f/_build/CMakeFiles/CMakeTmp/testCCompiler.c : error: unknown value '11.6' of -mmacosx-version-min --- .github/workflows/build.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75b794d..81cb288 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,24 +41,6 @@ jobs: compiler: gnu version: 10 - - os: macos-latest - build: meson - build-type: coverage - compiler: gnu - version: 10 - - - os: macos-latest - build: meson - build-type: debug - compiler: gnu - version: 5 - - - os: macos-latest - build: cmake - build-type: debug - compiler: gnu - version: 6 - - os: ubuntu-latest build: meson build-type: debug