fix: simplify CI configuration by removing unnecessary container images and installation steps
Some checks failed
C/C++ CI / build (push) Failing after 30s
C/C++ CI / test (push) Has been skipped
C/C++ CI / code-quality (push) Failing after 31s
C/C++ CI / security-scan (push) Failing after 17s
CI Pipeline / build (push) Failing after 17s
CI Pipeline / test (push) Has been skipped
CI Pipeline / security-scan (push) Failing after 13s
CI Pipeline / code-quality (push) Failing after 30s
CI Pipeline / docker-build (push) Failing after 1m0s
Some checks failed
C/C++ CI / build (push) Failing after 30s
C/C++ CI / test (push) Has been skipped
C/C++ CI / code-quality (push) Failing after 31s
C/C++ CI / security-scan (push) Failing after 17s
CI Pipeline / build (push) Failing after 17s
CI Pipeline / test (push) Has been skipped
CI Pipeline / security-scan (push) Failing after 13s
CI Pipeline / code-quality (push) Failing after 30s
CI Pipeline / docker-build (push) Failing after 1m0s
This commit is contained in:
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@@ -12,16 +12,10 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: debian:bookworm
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y build-essential libssl-dev libmagic-dev libnghttp2-dev pkg-config git
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build project
|
||||
run: make clean && make
|
||||
run: make clean && make || make
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -31,13 +25,7 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
container:
|
||||
image: debian:bookworm
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y build-essential libssl-dev libmagic-dev libnghttp2-dev pkg-config git file
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build and run tests
|
||||
run: |
|
||||
@@ -50,13 +38,7 @@ jobs:
|
||||
|
||||
security-scan:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: debian:bookworm
|
||||
steps:
|
||||
- name: Install security tools
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y cppcheck flawfinder git
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run Flawfinder
|
||||
run: |
|
||||
@@ -69,13 +51,7 @@ jobs:
|
||||
|
||||
code-quality:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: debian:bookworm
|
||||
steps:
|
||||
- name: Install code quality tools
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y cppcheck clang-format clang-tidy git
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run Cppcheck
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user