"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file ".github/workflows/ci-c.yml" between
gvm-libs-21.4.1.tar.gz and gvm-libs-21.4.2.tar.gz

About: GVM Libraries for the Greenbone Vulnerability Management (GVM-10) framework (derived from the former openvas-libraries).

ci-c.yml  (gvm-libs-21.4.1):ci-c.yml  (gvm-libs-21.4.2)
skipping to change at line 19 skipping to change at line 19
jobs: jobs:
c_format_check: c_format_check:
name: Check C Source Code Formatting name: Check C Source Code Formatting
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'
steps: steps:
- uses: actions/checkout@v2.3.4 - uses: actions/checkout@v2.3.4
- name: Check Source Format - name: Check Source Format
run: | run: |
clang-format -i -style=file base/*.{c,h} boreas/*.{c,h} \ clang-format -i -style=file base/*.{c,h} boreas/*.{c,h} \
gmp/*.{c,h} osp/*.{c,h} util/*.{c,h} && git diff --exit-code gmp/*.{c,h} osp/*.{c,h} util/*.{c,h} && git diff --exit-code
test_units: test_units:
name: Unit Tests name: Unit Tests
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'
container: greenbone/build-env-gvm-libs-master-debian-buster-gcc-test strategy:
matrix:
container:
- greenbone/gvm-libs-21.04-clang-testing
- greenbone/gvm-libs-21.04-gcc-testing
container: ${{ matrix.container }}
steps: steps:
- uses: actions/checkout@v2.3.4 - uses: actions/checkout@v2.3.4
- name: Configure and test gvm-libs - name: Configure and test gvm-libs
run: | run: |
mkdir build && cd build/ && cmake -DCMAKE_BUILD_TYPE=Release \ mkdir build && cd build/ && cmake -DCMAKE_BUILD_TYPE=Debug \
-DBUILD_TESTS=1 .. && make install && make tests && \ -DBUILD_TESTS=1 .. && make install && make tests && \
CTEST_OUTPUT_ON_FAILURE=1 make test CTEST_OUTPUT_ON_FAILURE=1 make test
working-directory: ${{ github.WORKSPACE }} working-directory: ${{ github.WORKSPACE }}
build_gcc_core: build_gcc_core:
name: Build gvm-libs with gcc name: Build gvm-libs
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'
container: greenbone/build-env-gvm-libs-master-debian-buster-gcc-test strategy:
matrix:
container:
- greenbone/gvm-libs-21.04-clang-testing
- greenbone/gvm-libs-21.04-gcc-testing
container: ${{ matrix.container }}
steps: steps:
- uses: actions/checkout@v2.3.4 - uses: actions/checkout@v2.3.4
- name: Configure and Compile gvm-libs - name: Configure and Compile gvm-libs
run: | run: |
mkdir build && cd build/ && cmake \ mkdir build && cd build/ && cmake \
-DCMAKE_BUILD_TYPE=Release .. && make install -DCMAKE_BUILD_TYPE=Release .. && make install
working-directory: ${{ github.WORKSPACE }} working-directory: ${{ github.WORKSPACE }}
scan_build: scan_build:
name: Scan-build gvm-libs with clang name: Scan-build gvm-libs with clang
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'
container: greenbone/build-env-gvm-libs-master-debian-buster-clang-core container: greenbone/gvm-libs-21.04-clang-testing
steps: steps:
- uses: actions/checkout@v2.3.4 - uses: actions/checkout@v2.3.4
- name: Configure and Compile gvm-libs - name: Configure and Compile gvm-libs
run: | run: |
mkdir build && cd build/ && scan-build cmake \ mkdir build && cd build/ && scan-build cmake \
-DCMAKE_BUILD_TYPE=Debug .. && scan-build \ -DCMAKE_BUILD_TYPE=Debug .. && scan-build \
-o ~/scan-build-report make && [ -z "$(ls -A ~/scan-build-report/)" ] -o ~/scan-build-report make && [ -z "$(ls -A ~/scan-build-report/)" ]
working-directory: ${{ github.WORKSPACE }} working-directory: ${{ github.WORKSPACE }}
- name: Upload scan-build report - name: Upload scan-build report
if: failure() if: failure()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: scan-build-report name: scan-build-report
path: ~/scan-build-report/ path: ~/scan-build-report
gen_xml_doc: gen_xml_doc:
name: Generate documentation (XML) name: Generate documentation (XML)
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: greenbone/code-metrics-doxygen-debian-stretch container: greenbone/code-metrics-doxygen-debian-stretch
steps: steps:
- name: Check out gvmd - name: Check out gvmd
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Generate documentation (XML) - name: Generate documentation (XML)
run: | run: |
mkdir build && cd build/ && cmake -DSKIP_SRC=1 .. \ mkdir build && cd build/ && cmake -DSKIP_SRC=1 .. \
skipping to change at line 81 skipping to change at line 95
- name: Upload doxygen error output as artifact - name: Upload doxygen error output as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: doxygen-stderr.txt name: doxygen-stderr.txt
path: ~/doxygen-stderr.txt path: ~/doxygen-stderr.txt
- name: Upload XML documentation as artifact - name: Upload XML documentation as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: xml-doc name: xml-doc
path: build/doc/generated/xml/ path: build/doc/generated/xml/
doc-coverage: doc-coverage:
name: Upload doc coverage to Codecov name: Upload doc coverage to Codecov
needs: gen_xml_doc needs: gen_xml_doc
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out gvmd - name: Check out gvmd
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Set up Python 3.8 - name: Set up Python 3.8
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
 End of changes. 10 change blocks. 
6 lines changed or deleted 21 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)