Skip to content

Commit 00dc269

Browse files
authored
Move off travis to github actions (#222)
* Add CI builds to github actions * Ensures that make is run from build * Install CURL to support testing * Fix tools installation * Open 8080 port on the container Needed to run tests * Cannot set ports explicitly * Print tests results * Print test logs on failure * Print log on failure * Update lib dependencies * Run ldconfig only on linux * Add caching for CURL on mac Speeds up builds * Restrict CURL building to mac only * Always install curl from source * fix curl install * cache the entire curl directory * ubuntu use system curl * Compile CURL on mac with ssl enabled * Cache libmicrohttpd * Add memory checks * just install clang * Set envs using github actions syntax * Set flags for memory checks * Add tests on extra gcc/g++ versions * Add extra clang versions * Add valgrind and iwyu checks * Print clang versions and paths * Print clang path * Simplify iwyu Attempt to use system iwyu * fix iwyu path * Install additional clang to support iwyu builds * Use compile iwyu * fix clang paths * Fix clang paths * Fix clang path * fix iwyu import * Print iwyu resources * Build iwyu again * Use proper pkg version for clang in iwyu * Fix path to compiler in iwyu * Set iwyu root path * Use llvm root path * No need to pass sys libs in CXXFLAS * use clang-7 with iwyu * Fix version fetching for clang-7 * Use clang-7 from S3 * Use clang-7 options in iwyu * Fix to clang-7 * Fix bin path * Use clang-9 with iwyu * spice path using llvm tools * fix tool version * build iwyu in place * force c++14 compatibility * fix typo * Fix path * Use system iwyu and reference libraries * Install IWYU only * Temporarily disable iwyu installation * No custom config for iwyu * Fix compiler for iwyu * Use clang 5 with iwyu * IWYU with clang-9 * Remove resource dir printing * Fix includes to match iwyu * Handle IWYU error code * Handle IWYU error code * Add performance tests and cleanup * Use github actions syntax for selective builds * Fix typo * Use explicit IP address on ab * remove travis config
1 parent ec973dc commit 00dc269

File tree

11 files changed

+480
-360
lines changed

11 files changed

+480
-360
lines changed

.github/workflows/verify-build.yml

Lines changed: 470 additions & 0 deletions
Large diffs are not rendered by default.

.travis.yml

Lines changed: 0 additions & 358 deletions
This file was deleted.

src/basic_auth_fail_response.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include "httpserver/basic_auth_fail_response.hpp"
2222
#include <microhttpd.h>
23+
#include <iosfwd>
2324

2425
struct MHD_Connection;
2526
struct MHD_Response;

src/deferred_response.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include "httpserver/deferred_response.hpp"
2222
#include <microhttpd.h>
23+
#include <iosfwd>
2324

2425
struct MHD_Response;
2526

src/details/http_endpoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
*/
2020

2121
#include <ctype.h>
22+
#include <algorithm>
2223
#include <map>
2324
#include <memory>
2425
#include <regex>
2526
#include <sstream>
2627
#include <stdexcept>
2728
#include <string>
28-
#include <utility>
2929
#include <vector>
3030

3131
#include "httpserver/details/http_endpoint.hpp"

src/digest_auth_fail_response.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include "httpserver/digest_auth_fail_response.hpp"
2222
#include <microhttpd.h>
23+
#include <iosfwd>
2324

2425
struct MHD_Connection;
2526
struct MHD_Response;

0 commit comments

Comments
 (0)