Skip to content

Commit

Permalink
Merge branch 'main' into integration-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shangabl authored Dec 29, 2022
2 parents 1dbf8d9 + 87ea1a4 commit e13e9a7
Show file tree
Hide file tree
Showing 19 changed files with 1,464 additions and 49 deletions.
22 changes: 12 additions & 10 deletions .github/docker-images/base-images/amazonlinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@ RUN yum -y update \
&& yum clean all \
&& rm -rf /var/cache/yum

###############################################################################
# Install cppcheck
# cppcheck package is not available from amazonlinux default repositories
# Install and enable epel repository.
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/add-repositories.html
###############################################################################
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
RUN yum --enablerepo=epel install -y cppcheck

###############################################################################
# Install pre-built CMake
###############################################################################
WORKDIR /tmp
Expand Down Expand Up @@ -76,6 +66,18 @@ RUN wget https://sourceware.org/pub/valgrind/valgrind-3.19.0.tar.bz2 \
&& make \
&& make install

###############################################################################
# Install cppcheck
###############################################################################
WORKDIR /tmp
RUN wget https://github.com/danmar/cppcheck/archive/2.9.tar.gz \
&& tar zxvf 2.9.tar.gz \
&& cd cppcheck-2.9 \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make install

# ###############################################################################
# # Install Aws Iot Device Sdk Cpp v2
# ###############################################################################
Expand Down
21 changes: 12 additions & 9 deletions .github/docker-images/base-images/ubi8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@ RUN yum -y update \
&& yum clean all \
&& rm -rf /var/cache/yum

###############################################################################
# Install cppcheck
# cppcheck package is not available from Redhat Linux default repositories
# Install and enable epel repository.
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/add-repositories.html
###############################################################################
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
RUN yum --enablerepo=epel install -y cppcheck

###############################################################################
# Install pre-built CMake
###############################################################################
Expand Down Expand Up @@ -89,6 +80,18 @@ RUN wget https://sourceware.org/pub/valgrind/valgrind-3.19.0.tar.bz2 \
&& make \
&& make install

###############################################################################
# Install cppcheck
###############################################################################
WORKDIR /tmp
RUN wget https://github.com/danmar/cppcheck/archive/2.9.tar.gz \
&& tar zxvf 2.9.tar.gz \
&& cd cppcheck-2.9 \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make install

################################################################################
# Install Aws Iot Device Sdk Cpp v2
################################################################################
Expand Down
13 changes: 12 additions & 1 deletion .github/docker-images/base-images/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ RUN apt-get update -qq \
curl \
build-essential \
wget \
cppcheck \
libc6-dbg \
softhsm \
&& apt-get clean
Expand Down Expand Up @@ -66,6 +65,18 @@ RUN wget --ca-certificate=/etc/ssl/certs/ca-certificates.crt https://sourceware.
&& make \
&& make install

###############################################################################
# Install cppcheck
###############################################################################
WORKDIR /tmp
RUN wget --ca-certificate=/etc/ssl/certs/ca-certificates.crt https://github.com/danmar/cppcheck/archive/2.9.tar.gz \
&& tar zxvf 2.9.tar.gz \
&& cd cppcheck-2.9 \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make install

###############################################################################
# Install Aws Iot Device Sdk Cpp v2
###############################################################################
Expand Down
Loading

0 comments on commit e13e9a7

Please sign in to comment.