Skip to content

Commit

Permalink
distcheck in its own build
Browse files Browse the repository at this point in the history
  • Loading branch information
vasi committed Nov 9, 2023
1 parent 7ddb508 commit 64cfd6a
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
os: ubuntu-latest
disable_fuse: "--disable-fuse"
check_features: demo
- name: distcheck
os: ubuntu-latest
- name: Old distro
os: ubuntu-20.04
- name: Mac
Expand Down Expand Up @@ -46,21 +48,19 @@ jobs:
brew install autoconf automake libtool pkgconfig squashfs coreutils
brew install --cask macfuse
if: runner.os == 'macOS'
- name: build
- name: autogen
run: |
./autogen.sh
- name: build
run: |
CPPFLAGS="-Werror" ./configure $DISABLE_FUSE
make -j2 V=1
if: matrix.name != 'distcheck'
- name: test
run: |
make check
diff -u ci/expected-features/${CHECK_FEATURES:-all} ci/features
if: runner.os != 'macOS'
- name: distcheck
run: |
make distcheck
# This is expensive, run just once
if: matrix.name == 'Ubuntu'
if: runner.os != 'macOS' && matrix.name != 'distcheck'
- name: test
run: |
# On macOS loading the macfuse extension is needed. This
Expand All @@ -73,8 +73,13 @@ jobs:
diff -u ci/expected-features/${CHECK_FEATURES:-all} ci/features
fi
if: runner.os == 'macOS'
- name: distcheck
run: |
make distcheck
if: matrix.name == 'distcheck'
- name: install
run: sudo make install
if: matrix.name != 'distcheck'
- name: output
run: |
cp /tmp/*.log . || true
Expand Down

0 comments on commit 64cfd6a

Please sign in to comment.