release ?

This commit is contained in:
kr rt 2025-01-04 13:01:46 +03:00
parent b31e8a1cbd
commit 35457beb65
4 changed files with 18 additions and 11 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
apt-get install -y wget tar bzip2
wget "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2"
tar -jxf ./*.tar.bz2
rm ./*.tar.bz2
echo "export PATH=\$PATH:./gcc-arm-none-eabi-10.3-2021.10/bin/" >> ~/.bashrc
echo "export PATH=\$PATH:/app/gcc-arm-none-eabi-10.3-2021.10/bin/" >> ~/.bashrc

View File

@ -1,9 +1,11 @@
#!/bin/bash
apt-get install -y wget g++ python3 tar bzip2 make libghc-regex-pcre-dev
wget https://github.com/danmar/cppcheck/archive/2.14.1.tar.gz
tar -xvf ./2.14.1.tar.gz
rm ./2.14.1.tar.gz
wget https://github.com/danmar/cppcheck/archive/2.10.tar.gz
tar -xvf ./2.10.tar.gz
rm ./2.10.tar.gz
mkdir /usr/share/cppcheck
cd ./cppcheck-2.14.1/
cd ./cppcheck-2.10/
make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"
make install FILESDIR=/usr/share/cppcheck
cd ..

View File

@ -1,8 +1,9 @@
#!/bin/bash
apt-get install -y g++ make git autoconf libtool
git clone https://github.com/cpputest/cpputest.git
cd cpputest
mkdir cpputest_build
cd cpputest_build
autoreconf .. -i
../configure
make
autoreconf -i
./configure
make
echo "export CPPUTEST=/app/cpputest" >> ~/.bashrc

View File

@ -1,5 +1,7 @@
#!/bin/bash
apt-get install -y wget tar bzip2
wget https://www.doxygen.nl/files/doxygen-1.11.0.linux.bin.tar.gz
tar -xvf ./doxygen-1.11.0.linux.bin.tar.gz
rm ./doxygen-1.11.0.linux.bin.tar.gz
echo "export PATH=\$PATH:./doxygen-1.11.0/bin/" >> ~/.bashrc
echo "export PATH=\$PATH:/app/doxygen-1.11.0/bin/" >> ~/.bashrc