Skip to content

Commit d7a0f91

Browse files
authored
Merge pull request #669 from stgraber/main
github: Improve progress reporting
2 parents aed9d38 + 3a43ced commit d7a0f91

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

.github/actions/build/action.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ runs:
1414
- name: Install dependencies
1515
shell: bash
1616
run: |
17+
echo "::group::Installing dependencies"
18+
1719
sudo apt-get update -qq
1820
sudo apt-get install -qq \
1921
${{ inputs.compiler }} \
@@ -22,18 +24,26 @@ runs:
2224
pkg-config \
2325
uuid-runtime
2426
27+
echo "::endgroup::"
28+
2529
- name: Compiler version
2630
shell: bash
2731
env:
2832
CC: ${{ inputs.compiler }}
2933
run: |
34+
echo "::group::Compiler version"
35+
3036
${CC} --version
3137
38+
echo "::endgroup::"
39+
3240
- name: Build
3341
shell: bash
3442
env:
3543
CC: ${{ inputs.compiler }}
3644
run: |
45+
echo "::group::Building LXCFS"
46+
3747
# Standard build
3848
meson setup build \
3949
-Ddocs=false \
@@ -42,3 +52,5 @@ runs:
4252
-Dprefix=/usr \
4353
-Db_sanitize=address,undefined
4454
meson compile -C build
55+
56+
echo "::endgroup::"

.github/actions/testsuite/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ inputs:
1111
runs:
1212
using: "composite"
1313
steps:
14-
- uses: ./.github/actions/build
14+
- name: Build LXCFS
15+
uses: ./.github/actions/build
1516
with:
1617
compiler: ${{ inputs.compiler }}
1718
fuse: ${{ inputs.fuse }}
@@ -22,5 +23,9 @@ runs:
2223
env:
2324
CC: ${{ inputs.compiler }}
2425
run: |
26+
echo "::group::Running the testsuite"
27+
2528
echo 1 | sudo tee /sys/fs/cgroup/cpuset/cgroup.clone_children || true
2629
sudo -E PATH="${PATH}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" build/tests/main.sh
30+
31+
echo "::endgroup::"

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
- name: Checkout code
2727
uses: actions/checkout@v4
2828

29-
- uses: ./.github/actions/testsuite
29+
- name: Run the testsuite
30+
uses: ./.github/actions/testsuite
3031
with:
3132
compiler: ${{ matrix.compiler }}
3233
fuse: ${{ matrix.fuse }}
@@ -57,7 +58,8 @@ jobs:
5758
- name: Checkout code
5859
uses: actions/checkout@v4
5960

60-
- uses: ./.github/actions/testsuite
61+
- name: Run the testsuite
62+
uses: ./.github/actions/testsuite
6163
with:
6264
compiler: ${{ matrix.compiler }}
6365
fuse: ${{ matrix.fuse }}
@@ -83,7 +85,8 @@ jobs:
8385
- name: Checkout code
8486
uses: actions/checkout@v4
8587

86-
- uses: ./.github/actions/build
88+
- name: Build LXCFS
89+
uses: ./.github/actions/build
8790
with:
8891
compiler: ${{ matrix.compiler }}
8992
fuse: ${{ matrix.fuse }}

0 commit comments

Comments
 (0)