Skip to content

Commit

Permalink
CI Update (#20)
Browse files Browse the repository at this point in the history
* Quote TO_CMAKE_PATH args
* Add builder config
* Disable magic number check
  • Loading branch information
ColdenCullen authored Aug 28, 2019
1 parent 9cefc63 commit 95bd8fc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
Checks: 'clang-diagnostic-*,clang-analyzer-*,readability-*,modernize-*,bugprone-*,misc-*,google-runtime-int,llvm-header-guard,fuchsia-restrict-system-includes,-clang-analyzer-valist.Uninitialized,-clang-analyzer-security.insecureAPI.rand,-clang-analyzer-alpha.*'
Checks: 'clang-diagnostic-*,clang-analyzer-*,readability-*,modernize-*,bugprone-*,misc-*,google-runtime-int,llvm-header-guard,fuchsia-restrict-system-includes,-clang-analyzer-valist.Uninitialized,-clang-analyzer-security.insecureAPI.rand,-clang-analyzer-alpha.*,-readability-magic-numbers'
WarningsAsErrors: '*'
HeaderFilterRegex: '\./*'
FormatStyle: 'file'
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.1)
project(aws-c-compression C)

if (DEFINED CMAKE_PREFIX_PATH)
file(TO_CMAKE_PATH ${CMAKE_PREFIX_PATH} CMAKE_PREFIX_PATH)
file(TO_CMAKE_PATH "${CMAKE_PREFIX_PATH}" CMAKE_PREFIX_PATH)
endif()

if (DEFINED CMAKE_INSTALL_PREFIX)
file(TO_CMAKE_PATH ${CMAKE_INSTALL_PREFIX} CMAKE_INSTALL_PREFIX)
file(TO_CMAKE_PATH "${CMAKE_INSTALL_PREFIX}" CMAKE_INSTALL_PREFIX)
endif()

if (UNIX AND NOT APPLE)
Expand Down
9 changes: 9 additions & 0 deletions builder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "aws-c-compression",
"upstream": [
{ "name": "aws-c-common" }
],
"downstream": [
{ "name": "aws-c-http" }
]
}

0 comments on commit 95bd8fc

Please sign in to comment.