Skip to content

Commit

Permalink
Added sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergeydigl3 committed Mar 28, 2024
1 parent 37405bd commit 06373cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
# run: conan profile update settings.compiler.libcxx=libstdc++11 default

- name: Install LLVM
run: bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
run: sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES="conan_provider.cmake" -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand All @@ -52,8 +52,8 @@ jobs:
git clone https://github.com/hdoc/hdoc.git
cd hdoc
pip3 install meson
meson build
ninja -C build
sudo meson build
sudo ninja -C build
cp build/hdoc ${{github.workspace}}
- name: Download hdoc binary and run it
Expand Down

0 comments on commit 06373cb

Please sign in to comment.