Skip to content

Commit

Permalink
Merge pull request #612 from mattmundell/remove-sqlite3-ci
Browse files Browse the repository at this point in the history
Remove SQLite based CI checks
  • Loading branch information
mattmundell authored Jun 23, 2019
2 parents 10cf1ae + 1cf37c6 commit 3e20b23
Showing 1 changed file with 0 additions and 70 deletions.
70 changes: 0 additions & 70 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,6 @@ jobs:
- run:
name: Check Source Format
command: clang-format -i -style=file src/comm.h src/gmp.h src/gmp_base.h src/gmp_delete.h src/gmp_get.h src/gmp_tickets.h src/gmpd.h src/iterator.h src/manage_utils.h src/otp.h src/scanner.h src/sql.h src/types.h src/utils.h src/comm.c && git diff --exit-code
build_sqlite_debug:
docker:
- image: greenbone/build-env-gvm-master-debian-stretch-gcc-sqlite
steps:
- run:
working_directory: ~/gvm-libs
name: Checkout gvm-libs
command: git clone --depth 1 https://github.com/greenbone/gvm-libs.git
- run:
working_directory: ~/gvm-libs
name: Configure and compile gvm-libs (Debug)
command: pushd gvm-libs && mkdir build && cd build/ && cmake -DCMAKE_BUILD_TYPE=Debug .. && make install && popd
- checkout
- run:
name: Configure and Compile (Debug)
command: mkdir build && cd build/ && cmake -DCMAKE_BUILD_TYPE=Debug .. && make install
build_postgresql_debug:
docker:
- image: greenbone/build-env-gvm-master-debian-stretch-gcc-postgresql
Expand All @@ -40,22 +24,6 @@ jobs:
- run:
name: Configure and Compile (Debug)
command: mkdir build && cd build/ && cmake -DBACKEND=POSTGRESQL -DCMAKE_BUILD_TYPE=Debug .. && make install
build_sqlite_release:
docker:
- image: greenbone/build-env-gvm-master-debian-stretch-gcc-sqlite
steps:
- run:
working_directory: ~/gvm-libs
name: Checkout gvm-libs
command: git clone --depth 1 https://github.com/greenbone/gvm-libs.git
- run:
working_directory: ~/gvm-libs
name: Configure and compile gvm-libs (Release)
command: pushd gvm-libs && mkdir build && cd build/ && cmake -DCMAKE_BUILD_TYPE=Release .. && make install && popd
- checkout
- run:
name: Configure and Compile (Release)
command: mkdir build && cd build/ && cmake -DCMAKE_BUILD_TYPE=Release .. && make install
build_postgresql_release:
docker:
- image: greenbone/build-env-gvm-master-debian-stretch-gcc-postgresql
Expand All @@ -72,22 +40,6 @@ jobs:
- run:
name: Configure and Compile (Release)
command: mkdir build && cd build/ && cmake -DBACKEND=POSTGRESQL -DCMAKE_BUILD_TYPE=Release .. && make install
build_sqlite3_debug_clang:
docker:
- image: greenbone/build-env-gvm-master-debian-stretch-clang-sqlite
steps:
- run:
working_directory: ~/gvm-libs
name: Checkout gvm-libs
command: git clone --depth 1 https://github.com/greenbone/gvm-libs.git
- run:
working_directory: ~/gvm-libs
name: Configure and compile gvm-libs (Release)
command: pushd gvm-libs && mkdir build && cd build/ && cmake -DCMAKE_BUILD_TYPE=Release .. && make install && popd
- checkout
- run:
name: Configure and Compile with Clang (Debug, SQLite3)
command: mkdir build && cd build/ && cmake -DCMAKE_C_COMPILER=clang -DCMAKE_C_FLAGS="-Wno-ignored-attributes" -DCMAKE_BUILD_TYPE=Debug .. && make install
build_postgresql_debug_clang:
docker:
- image: greenbone/build-env-gvm-master-debian-stretch-clang-postgresql
Expand All @@ -104,24 +56,6 @@ jobs:
- run:
name: Configure and Compile with Clang (Debug, PostgreSQL)
command: mkdir build && cd build/ && cmake -DCMAKE_C_COMPILER=clang -DCMAKE_C_FLAGS="-Wno-ignored-attributes" -DBACKEND=POSTGRESQL -DCMAKE_BUILD_TYPE=Debug .. && make install
scan_build_sqlite3_debug:
docker:
- image: greenbone/build-env-gvm-master-debian-stretch-clang-sqlite
steps:
- run:
working_directory: ~/gvm-libs
name: Checkout gvm-libs
command: git clone --depth 1 https://github.com/greenbone/gvm-libs.git
- run:
working_directory: ~/gvm-libs
name: Configure and compile gvm-libs (Release)
command: pushd gvm-libs && mkdir build && cd build/ && cmake -DCMAKE_BUILD_TYPE=Release .. && make install && popd
- checkout
- run:
name: Configure and Scan Build (Debug, SQLite3)
command: mkdir build && cd build/ && scan-build cmake -DCMAKE_BUILD_TYPE=Debug .. && scan-build -o ~/scan-build-report-sqlite3 make && [ -z "$(ls -A ~/scan-build-report-sqlite3/)" ]
- store_artifacts:
path: ~/scan-build-report-sqlite3
scan_build_postgresql_debug:
docker:
- image: greenbone/build-env-gvm-master-debian-stretch-clang-postgresql
Expand Down Expand Up @@ -190,13 +124,9 @@ workflows:
build:
jobs:
- check_format
- build_sqlite_debug
- build_postgresql_debug
- build_sqlite_release
- build_postgresql_release
- build_sqlite3_debug_clang
- build_postgresql_debug_clang
- scan_build_sqlite3_debug
- scan_build_postgresql_debug
- build_doc
- gen_xml_doc
Expand Down

0 comments on commit 3e20b23

Please sign in to comment.