ci: drop explicit container image, use runner default (has node)
Validate / build-and-test (push) Successful in 1m31s

This commit is contained in:
Stefan Lohmaier
2026-05-11 22:04:40 -07:00
parent 6bf378f76b
commit 7c1848cb26
+10 -12
View File
@@ -9,23 +9,21 @@ on:
jobs: jobs:
build-and-test: build-and-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: ubuntu:24.04
steps: steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install build dependencies - name: Install build dependencies
run: | run: |
apt-get update sudo apt-get update
apt-get install -y --no-install-recommends \ sudo apt-get install -y --no-install-recommends \
build-essential gcc make \ build-essential gcc make \
cppcheck \ cppcheck \
lcov \ lcov \
python3 python3-pip \ python3 python3-pip \
git ca-certificates git ca-certificates
pip3 install --break-system-packages doorstop || true pip3 install --break-system-packages doorstop || pip3 install doorstop || true
- name: Checkout
uses: actions/checkout@v4
- name: Static Analysis (Cppcheck) - name: Static Analysis (Cppcheck)
run: make static run: make static
@@ -43,7 +41,7 @@ jobs:
- name: Doorstop Check - name: Doorstop Check
run: | run: |
if [ -f .doorstop.yml ]; then if [ -f .doorstop.yml ]; then
doorstop || echo "Doorstop not fully configured" doorstop || echo "Doorstop check produced warnings"
fi fi
- name: Upload Coverage HTML - name: Upload Coverage HTML
@@ -53,9 +51,9 @@ jobs:
name: coverage-html name: coverage-html
path: build/coverage-html/ path: build/coverage-html/
- name: Upload Cppcheck Report - name: Upload Test Results
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: always() if: always()
with: with:
name: cppcheck-report name: test-output
path: build/cppcheck-report.xml path: build/