Skip to content

Commit

Permalink
ci: use SWIG 4.2.1 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jun 25, 2024
1 parent 1f50c92 commit 0b4a0cb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions ci/docker/almalinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
FROM almalinux:latest AS env

# Install system build dependencies
#ENV PATH=/usr/local/bin:$PATH
ENV PATH=/usr/local/bin:$PATH
RUN dnf -y update \
&& dnf -y install git wget openssl-devel cmake \
&& dnf -y groupinstall "Development Tools" \
&& dnf clean all \
&& rm -rf /var/cache/dnf
CMD [ "/usr/bin/bash" ]

# Install SWIG 4.2.0
# Install SWIG 4.2.1
RUN dnf -y update \
&& dnf -y install pcre2-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf \
&& wget -q "https://github.com/swig/swig/archive/refs/tags/v4.2.0.tar.gz" -O swig-4.2.0.tar.gz \
&& tar xvf swig-4.2.0.tar.gz \
&& rm swig-4.2.0.tar.gz \
&& cd swig-4.2.0 \
&& wget -q "https://github.com/swig/swig/archive/refs/tags/v4.2.1.tar.gz" -O swig-4.2.1.tar.gz \
&& tar xvf swig-4.2.1.tar.gz \
&& rm swig-4.2.1.tar.gz \
&& cd swig-4.2.1 \
&& ./autogen.sh \
&& ./configure --prefix=/usr \
&& make -j 4 \
&& make install \
&& cd .. \
&& rm -rf swig-4.2.0
&& rm -rf swig-4.2.1

# Install .NET SDK
# see: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
Expand Down
14 changes: 7 additions & 7 deletions ci/docker/rockylinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
FROM rockylinux:9 AS env

# Install system build dependencies
#ENV PATH=/usr/local/bin:$PATH
ENV PATH=/usr/local/bin:$PATH
RUN dnf -y update \
&& dnf -y install git wget openssl-devel cmake \
&& dnf -y groupinstall "Development Tools" \
&& dnf clean all \
&& rm -rf /var/cache/dnf
CMD [ "/usr/bin/bash" ]

# Install SWIG 4.2.0
# Install SWIG 4.2.1
RUN dnf -y update \
&& dnf -y install pcre2-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf \
&& wget -q "https://github.com/swig/swig/archive/refs/tags/v4.2.0.tar.gz" -O swig-4.2.0.tar.gz \
&& tar xvf swig-4.2.0.tar.gz \
&& rm swig-4.2.0.tar.gz \
&& cd swig-4.2.0 \
&& wget -q "https://github.com/swig/swig/archive/refs/tags/v4.2.1.tar.gz" -O swig-4.2.1.tar.gz \
&& tar xvf swig-4.2.1.tar.gz \
&& rm swig-4.2.1.tar.gz \
&& cd swig-4.2.1 \
&& ./autogen.sh \
&& ./configure --prefix=/usr \
&& make -j 4 \
&& make install \
&& cd .. \
&& rm -rf swig-4.2.0
&& rm -rf swig-4.2.1

# Install .NET SDK
# see: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
Expand Down

0 comments on commit 0b4a0cb

Please sign in to comment.