Skip to content

Commit

Permalink
[ci] Add missing sudo in CI
Browse files Browse the repository at this point in the history
We are switching to use non-root GitHub action runners, which need
sudo for global package installation.

Signed-off-by: Gary Guo <gary.guo@lowrisc.org>
  • Loading branch information
nbdd0121 committed Mar 15, 2024
1 parent eb668b0 commit 8c88933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/install-build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ case "$ID-$VERSION_ID" in
cd build/verible
curl -Ls -o verible.tar.gz "https://github.com/google/verible/releases/download/$VERIBLE_VERSION/verible-$VERIBLE_VERSION-Ubuntu-$VERSION_ID-$VERSION_CODENAME-x86_64.tar.gz"
$SUDO_CMD mkdir -p /tools/verible && $SUDO_CMD chmod 777 /tools/verible
tar -C /tools/verible -xf verible.tar.gz --strip-components=1
$SUDO_CMD tar -C /tools/verible -xf verible.tar.gz --strip-components=1
echo "##vso[task.prependpath]/tools/verible/bin"
echo "/tools/verible/bin" >> $GITHUB_PATH
;;
Expand Down

0 comments on commit 8c88933

Please sign in to comment.