From 89968ba8b54e3933fa559ad0174e024e07165266 Mon Sep 17 00:00:00 2001 From: DK Liao Date: Tue, 30 Jul 2024 16:30:46 +0900 Subject: [PATCH] fix(doc): add mako installation into doc building workflow (#95) * Update doc.yml * Move mako install step back to dependency installation --- .github/workflows/build.yml | 4 ++-- .github/workflows/doc.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb0c178c..3c923e6e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,6 +138,7 @@ jobs: - name: Install dependencies run: | scoop install git python llvm cmake curl + python -m pip install mako - name: Run sccache-cache uses: Mozilla-Actions/sccache-action@v0.0.4 @@ -147,7 +148,6 @@ jobs: - name: Build run: | - python -m pip install mako cargo build --release # - name: Test @@ -195,13 +195,13 @@ jobs: - name: Install dependencies run: | brew install cmake pkg-config + python -m pip install mako - name: Run sccache-cache uses: Mozilla-Actions/sccache-action@v0.0.4 - name: Build run: | - python -m pip install mako cargo build --release # - name: Test diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 4c90f775..7fd211d8 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -34,7 +34,8 @@ jobs: libgstrtspserver-1.0-dev gstreamer1.0-tools libges-1.0-dev \ libharfbuzz-dev liblzma-dev libunwind-dev libunwind-dev libvulkan1 \ libx11-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev \ - libxmu-dev libxmu6 libegl1-mesa-dev llvm-dev m4 xorg-dev sway + libxmu-dev libxmu6 libegl1-mesa-dev llvm-dev m4 xorg-dev sway \ + python3-mako - name: Run sccache-cache uses: Mozilla-Actions/sccache-action@v0.0.5