Skip to content

Commit a284eab

Browse files
authored
Merge pull request #202 from linD026/master
CI: Switch Smatch source code to GitHub mirror
2 parents ed0b93c + 16e0656 commit a284eab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.ci/static-analysis.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,12 @@ function do_gcc()
8484

8585
function do_smatch()
8686
{
87-
wget -q https://repo.or.cz/smatch.git/snapshot/refs/heads/master.tar.gz
87+
git clone https://github.com/error27/smatch.git --depth=1
8888
if [ $? -ne 0 ]; then
8989
echo "Failed to download smatch."
9090
exit 1
9191
fi
92-
tar -xzf master.tar.gz
93-
pushd smatch-master-*
92+
pushd smatch
9493
make smatch || exit 1
9594
local SMATCH=$(pwd)/smatch
9695
popd

0 commit comments

Comments
 (0)