mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
Add a "Print dmesg" step with when: always to the CircleCI test-local job so kernel logs are captured even on failure. Assisted-by: Claude Code (claude-opus-4-6) Signed-off-by: Adrian Reber <areber@redhat.com>
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
version: 2.1
|
|
jobs:
|
|
test-local:
|
|
machine:
|
|
image: default
|
|
working_directory: ~/criu
|
|
parameters:
|
|
compiler:
|
|
type: string
|
|
shard_index:
|
|
type: integer
|
|
shard_count:
|
|
type: integer
|
|
default: 4
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: "Test local << parameters.compiler >> shard << parameters.shard_index >>"
|
|
command: >
|
|
sudo -E make -C scripts/ci local << parameters.compiler >>=1
|
|
ZDTM_SHARD_INDEX=<< parameters.shard_index >>
|
|
ZDTM_SHARD_COUNT=<< parameters.shard_count >>
|
|
- run:
|
|
name: Print dmesg
|
|
when: always
|
|
command: sudo dmesg
|
|
|
|
workflows:
|
|
version: 2
|
|
builds:
|
|
jobs:
|
|
- test-local:
|
|
matrix:
|
|
parameters:
|
|
compiler: ["GCC", "CLANG"]
|
|
shard_index: [0, 1, 2, 3]
|
|
- test-local:
|
|
name: "GCC non-zdtm"
|
|
compiler: "GCC"
|
|
shard_index: 4
|
|
- test-local:
|
|
name: "CLANG non-zdtm"
|
|
compiler: "CLANG"
|
|
shard_index: 4
|