Skip to content

Commit ebfad36

Browse files
committed
distcheck in its own build
1 parent 7ddb508 commit ebfad36

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
os: ubuntu-latest
1818
disable_fuse: "--disable-fuse"
1919
check_features: demo
20+
- name: distcheck
21+
os: ubuntu-latest
2022
- name: Old distro
2123
os: ubuntu-20.04
2224
- name: Mac
@@ -46,22 +48,20 @@ jobs:
4648
brew install autoconf automake libtool pkgconfig squashfs coreutils
4749
brew install --cask macfuse
4850
if: runner.os == 'macOS'
49-
- name: build
51+
- name: configure
5052
run: |
5153
./autogen.sh
5254
CPPFLAGS="-Werror" ./configure $DISABLE_FUSE
55+
- name: build
56+
run: |
5357
make -j2 V=1
58+
if: matrix.name != 'distcheck'
5459
- name: test
5560
run: |
5661
make check
5762
diff -u ci/expected-features/${CHECK_FEATURES:-all} ci/features
58-
if: runner.os != 'macOS'
59-
- name: distcheck
60-
run: |
61-
make distcheck
62-
# This is expensive, run just once
63-
if: matrix.name == 'Ubuntu'
64-
- name: test
63+
if: runner.os != 'macOS' && matrix.name != 'distcheck'
64+
- name: test mac
6565
run: |
6666
# On macOS loading the macfuse extension is needed. This
6767
# command should load it without rebooting, except System
@@ -73,8 +73,13 @@ jobs:
7373
diff -u ci/expected-features/${CHECK_FEATURES:-all} ci/features
7474
fi
7575
if: runner.os == 'macOS'
76+
- name: distcheck
77+
run: |
78+
make distcheck
79+
if: matrix.name == 'distcheck'
7680
- name: install
7781
run: sudo make install
82+
if: matrix.name != 'distcheck'
7883
- name: output
7984
run: |
8085
cp /tmp/*.log . || true

0 commit comments

Comments
 (0)