Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI #14

Merged
merged 1 commit into from
Jan 29, 2022
Merged

Update CI #14

merged 1 commit into from
Jan 29, 2022

Conversation

awvwgk
Copy link
Member

@awvwgk awvwgk commented Jan 29, 2022

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 <module>
        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
    <built-in>: error: unknown value '11.6' of -mmacosx-version-min
    

@codecov
Copy link

codecov bot commented Jan 29, 2022

Codecov Report

Merging #14 (68447a1) into main (696b0e2) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   29.48%   29.48%           
=======================================
  Files           8        8           
  Lines         563      563           
  Branches      153      153           
=======================================
  Hits          166      166           
  Misses        274      274           
  Partials      123      123           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 696b0e2...68447a1. Read the comment docs.

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 <module>
        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
    <built-in>: error: unknown value '11.6' of -mmacosx-version-min
@awvwgk awvwgk merged commit 7e26398 into grimme-lab:main Jan 29, 2022
@awvwgk awvwgk deleted the ci branch January 29, 2022 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant