Skip to content

Commit e9b7522

Browse files
committed
CI: make sure pre-build files are newer than source code.
CI is rebuilding, which seems strange. Try adding -m which means it doesn't restore mtimes on files: they will look brand new to make. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 85e97bf commit e9b7522

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ jobs:
206206

207207
- name: Check
208208
run: |
209-
tar -xaf cln-${{ matrix.CFG }}.tar.bz2
209+
tar -xmaf cln-${{ matrix.CFG }}.tar.bz2
210210
uv run eatmydata make -j $(nproc) check-units installcheck VALGRIND=${{ matrix.VALGRIND }}
211211
212212
check-fuzz:
@@ -316,7 +316,7 @@ jobs:
316316
env:
317317
CFG: ${{ matrix.CFG }}
318318
run: |
319-
tar -xaf cln-${CFG}.tar.bz2
319+
tar -xmaf cln-${CFG}.tar.bz2
320320
321321
- name: Switch network
322322
if: ${{ matrix.TEST_NETWORK == 'liquid-regtest' }}
@@ -404,7 +404,7 @@ jobs:
404404
name: cln-compile-gcc.tar.bz2
405405

406406
- name: Unpack build
407-
run: tar -xvjf cln-compile-gcc.tar.bz2
407+
run: tar -xamf cln-compile-gcc.tar.bz2
408408

409409
- name: Test
410410
env:
@@ -473,7 +473,7 @@ jobs:
473473
name: cln-compile-clang-sanitizers.tar.bz2
474474

475475
- name: Unpack build
476-
run: tar -xvjf cln-compile-clang-sanitizers.tar.bz2
476+
run: tar -xamf cln-compile-clang-sanitizers.tar.bz2
477477

478478
- name: Test
479479
run: |
@@ -517,7 +517,7 @@ jobs:
517517
name: cln-compile-gcc.tar.bz2
518518
- name: Unpack pre-built CLN
519519
run: |
520-
tar -xaf cln-compile-gcc.tar.bz2
520+
tar -xamf cln-compile-gcc.tar.bz2
521521
- name: Test
522522
run: |
523523
uv run eatmydata make -j $(nproc) check-doc-examples
@@ -578,7 +578,7 @@ jobs:
578578
env:
579579
CFG: ${{ matrix.CFG }}
580580
run: |
581-
tar -xaf cln-${CFG}.tar.bz2
581+
tar -xamf cln-${CFG}.tar.bz2
582582
583583
- name: Test
584584
env:

0 commit comments

Comments
 (0)