Skip to content

Minimal project that uses qmake, clang, C++17, fuzz tested by libFuzz and is tested by Travis CI

License

Notifications You must be signed in to change notification settings

richelbilderbeek/travis_qmake_clang_cpp17_libfuzzer

Repository files navigation

travis_qmake_clang_cpp17_libfuzzer

Branch Travis CI logo
master Build Status
develop Build Status

This GitHub is part of the Travis C++ Tutorial.

The goal of this project is to have a clean Travis CI build, with specs:

  • Build system: qmake
  • C++ compiler: clang
  • C++ version: C++14
  • Libraries: STL only
  • Code coverage: none
  • Fuzz testing: libFuzzer
  • Source: one single file, main.cpp

More complex builds:

Equally complex builds:

  • [none]

Less complex builds:

Troubleshooting

clang: error: unknown argument: '-fsanitize-coverage=trace-pc-guard'

For that flag, one needs at least clang 4.0.

As of 2017-04-27, the version that can be install from packages is clang 3.8.

See travis_qmake_clang_cpp17_libfuzzer how to install clang's most recent version.

Most recent package or trunk?

The trunk is the most recent (and thus unstable) clang version. It is used in this example: travis_qmake_clang_cpp17

The most recent clang package available is used in this example: travis_qmake_clang_cpp14

For libFuzzer, as of 2017-04-28, only the trunk has a version high enough.

About

Minimal project that uses qmake, clang, C++17, fuzz tested by libFuzz and is tested by Travis CI

Resources

License

Stars

Watchers

Forks

Packages

No packages published