Skip to content
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
15 changes: 10 additions & 5 deletions .github/workflows/csmock.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Run static analysis using csmock

env:
CSMOCK_CHROOTS: "default"
CSMOCK_TOOLS: "clang cppcheck gcc"

on:
Expand All @@ -11,8 +10,14 @@ on:

jobs:
build:
name: csmock
runs-on: ubuntu-22.04
name: csmock (${{ matrix.chroot }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
chroot:
- default
- fedora-rawhide
env:
CI_CONTAINER: libblockdev-ci-csmock
steps:
Expand All @@ -38,11 +43,11 @@ jobs:

- name: Run csmock build in the container
run: |
podman exec -it ${{ env.CI_CONTAINER }} bash -c "/ci/run_csmock_tests -c /ci/copr-builder.conf -p libblockdev-udisks -t ${{ env.CSMOCK_TOOLS }} -r ${{ env.CSMOCK_CHROOTS }}"
podman exec -it ${{ env.CI_CONTAINER }} bash -c "/ci/run_csmock_tests -c /ci/copr-builder.conf -p libblockdev-udisks -t ${{ env.CSMOCK_TOOLS }} -r ${{ matrix.chroot }}"

- name: Upload the csmock logs
if: always()
uses: actions/upload-artifact@v7
with:
name: csmock_logs
name: csmock_logs_${{ matrix.chroot }}
path: csmock_*/*
Loading