aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2023-12-06 14:51:35 +0100
committerDavid Sterba <dsterba@suse.com>2023-12-06 16:03:37 +0100
commitf9ebee683871324c9a51c79009c9061ea252c858 (patch)
treeb153b671d80e0062a337a3de81f65a925e32ee08
parentc1ce48ed3f889cbe258276d7208e5b6951a65f98 (diff)
downloadbtrfs-progs-f9ebee683871324c9a51c79009c9061ea252c858.tar.gz
btrfs-progs: ci: install RTD sphinx theme for devel workflow
With the recent updates to documentation build the theme must be now installed as a package. Disable building documentation in all workflows that do functional tests. Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--.github/workflows/artifacts-static-build.yml2
-rw-r--r--.github/workflows/coverage.yml2
-rw-r--r--.github/workflows/devel.yml2
-rw-r--r--.github/workflows/pull-request.yml2
4 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/artifacts-static-build.yml b/.github/workflows/artifacts-static-build.yml
index 398acff5..c61c5e32 100644
--- a/.github/workflows/artifacts-static-build.yml
+++ b/.github/workflows/artifacts-static-build.yml
@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev
- name: Configure
- run: ./autogen.sh && ./configure
+ run: ./autogen.sh && ./configure --disable-documentation
- name: Make static
run: make V=1 EXTRA_CFLAGS='-march=x86-64' static
- name: Make box.static
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index ef5a54de..b11d8d9b 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -16,7 +16,7 @@ jobs:
- run: sudo modprobe btrfs
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev attr jq lcov
- name: Configure
- run: ./autogen.sh && ./configure
+ run: ./autogen.sh && ./configure --disable-documentation
- name: Make
run: make V=1 D=gcov
- name: Tests cli
diff --git a/.github/workflows/devel.yml b/.github/workflows/devel.yml
index 728589ca..f03462e4 100644
--- a/.github/workflows/devel.yml
+++ b/.github/workflows/devel.yml
@@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: sudo modprobe btrfs
- - run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx
+ - run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx sphinx-rtd-theme-common python3-sphinx-rtd-theme
- name: Configure
run: ./autogen.sh && CC=${{ matrix.compiler}} ./configure
- name: Documentation
diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml
index 217dd8e6..d1dd45f3 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -20,7 +20,7 @@ jobs:
- run: sudo modprobe btrfs
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev attr jq
- name: Configure
- run: ./autogen.sh && ./configure
+ run: ./autogen.sh && ./configure --disable-documentation
- name: Make
run: make V=1
# - name: Musl build