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

Remove SQLite based CI checks #612

Merged
merged 2 commits into from
Jun 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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