Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test github actions for Linux #17094

Merged
merged 48 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
e9eb997
add github actions
czoido Oct 1, 2024
8878e44
output info
czoido Oct 2, 2024
4da2d7b
add user
czoido Oct 2, 2024
7035493
revert user
czoido Oct 2, 2024
3f643c4
use conan-tests for docker testing
czoido Oct 2, 2024
4010cc7
get docker id
czoido Oct 2, 2024
1380617
revert
czoido Oct 2, 2024
3528b56
try changes
czoido Oct 2, 2024
32540cc
update cache and checkout
czoido Oct 2, 2024
1c76a76
revert changes
czoido Oct 2, 2024
e5307a7
do not use spaces
czoido Oct 2, 2024
8e4435a
fix
czoido Oct 2, 2024
27ccfea
wip
czoido Oct 2, 2024
02d00ae
wip
czoido Oct 2, 2024
597bc00
wip
czoido Oct 2, 2024
58d175d
revert changes
czoido Oct 2, 2024
dc3bd8a
Revert "revert changes"
czoido Oct 2, 2024
8160d8f
Revert "wip"
czoido Oct 2, 2024
b85d827
try without image
czoido Oct 7, 2024
d4c0ef5
remove ninja mark
czoido Oct 7, 2024
2fd4b1c
wip
czoido Oct 7, 2024
0a7fda5
remove unused
czoido Oct 7, 2024
d1bbdf0
wip
czoido Oct 7, 2024
94f6cb0
minot changes
czoido Oct 7, 2024
8dd7569
fail if all tests are skipped
czoido Oct 7, 2024
d6bdec5
minor changes
czoido Oct 7, 2024
edf53a6
reduce py versions
czoido Oct 7, 2024
5702fcb
fix python
czoido Oct 7, 2024
0a4ca8b
does not need container
czoido Oct 7, 2024
9fb65f9
revert change
czoido Oct 7, 2024
03772b7
add name
czoido Oct 7, 2024
b00e932
change name
czoido Oct 7, 2024
a03ba51
use v5
czoido Oct 8, 2024
41ca43f
Merge branch 'develop2' into gh-actions-linux
czoido Oct 14, 2024
e57778f
Update .github/workflows/linux-tests.yml
czoido Oct 14, 2024
6f51d9b
Update .github/workflows/linux-tests.yml
czoido Oct 14, 2024
9bf74e5
Merge branch 'develop2' into gh-actions-linux
czoido Oct 16, 2024
597956f
recover bump_dev_version
czoido Oct 16, 2024
47fd058
add deply to pypitest
czoido Oct 16, 2024
7d40e59
Merge branch 'develop2' into gh-actions-linux
czoido Oct 25, 2024
4249ba0
Merge branch 'develop2' into gh-actions-linux
czoido Oct 28, 2024
b6eabde
Merge branch 'develop2' into gh-actions-linux
czoido Oct 29, 2024
fabf9e3
Merge branch 'develop2' into gh-actions-linux
czoido Nov 20, 2024
0de1616
Merge branch 'develop2' into gh-actions-linux
czoido Nov 29, 2024
2569f5c
remove fish
czoido Nov 29, 2024
301d827
add python 3.13
czoido Nov 29, 2024
307ef1f
Merge branch 'develop2' into gh-actions-linux
czoido Nov 29, 2024
9dd5a9c
Merge branch 'develop2' into gh-actions-linux
czoido Nov 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed .ci/__init__.py
Empty file.
22 changes: 0 additions & 22 deletions .ci/bump_dev_version.py

This file was deleted.

146 changes: 146 additions & 0 deletions .ci/docker/conan-tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
FROM ubuntu:24.04

LABEL maintainer="Conan.io <[email protected]>"

ENV DEBIAN_FRONTEND=noninteractive

ENV PY36=3.6.15 \
PY38=3.8.6 \
PY39=3.9.2 \
PY312=3.12.3 \
CMAKE_3_15_7=/usr/share/cmake-3.15.7/bin/cmake \
CMAKE_3_16_9=/usr/share/cmake-3.16.9/bin/cmake \
CMAKE_3_17_5=/usr/share/cmake-3.17.5/bin/cmake \
CMAKE_3_19_7=/usr/share/cmake-3.19.7/bin/cmake \
CMAKE_3_23_5=/usr/share/cmake-3.23.5/bin/cmake \
GCC_9=/usr/bin/gcc-9 \
GXX_9=/usr/bin/g++-9 \
GCC_11=/usr/bin/gcc-11 \
GXX_11=/usr/bin/g++-11 \
CLANG_14=/usr/bin/clang-14 \
CLANGXX_14=/usr/bin/clang++-14 \
BAZEL_6_3_2=6.3.2 \
BAZEL_7_1_2=7.1.2

RUN apt-get update && \
apt-get install -y --no-install-recommends \
software-properties-common \
build-essential \
libtool \
automake \
autoconf \
pkg-config \
gettext \
git \
curl \
make \
libssl-dev \
zlib1g-dev \
libbz2-dev \
libreadline-dev \
libsqlite3-dev \
wget \
llvm \
libncurses5-dev \
libncursesw5-dev \
xz-utils \
tk-dev \
libffi-dev \
liblzma-dev \
python3-openssl \
ca-certificates \
sudo \
tar \
linux-libc-dev \
subversion \
subversion-tools \
ninja-build \
gcc-9 \
g++-9 \
gcc-11 \
g++-11 \
clang-14 \
clang++-14 \
fish \
gcc-arm-linux-gnueabihf \
g++-arm-linux-gnueabihf \
unzip \
apt-transport-https \
gnupg-agent \
gcc-9-multilib \
g++-9-multilib \
gcc-11-multilib \
g++-11-multilib \
scons && \
# fix: asm/errno.h: No such file or directory
ln -s /usr/include/asm-generic/ /usr/include/asm && \
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
add-apt-repository -y ppa:fish-shell/release-3 && \
apt-get update && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu jammy stable" && \
apt-get update && \
apt-get install -y --no-install-recommends docker-ce docker-ce-cli containerd.io && \
rm -rf /var/lib/apt/lists/*

RUN useradd -m -s /bin/bash conan && \
echo 'conan ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

ENV HOME /home/conan
ENV PYENV_ROOT $HOME/.pyenv
ENV PATH $PYENV_ROOT/bin:$PYENV_ROOT/shims:/usr/bin:/bin:$PATH

RUN curl https://pyenv.run | bash && \
pyenv install $PY36 && \
pyenv install $PY38 && \
pyenv install $PY39 && \
pyenv install $PY312 && \
pyenv global $PY39 && \
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python get-pip.py && \
rm get-pip.py

RUN chown -R conan:conan $HOME

USER root

RUN wget https://github.com/Kitware/CMake/releases/download/v3.15.7/cmake-3.15.7-Linux-x86_64.tar.gz && \
tar -xvzf cmake-3.15.7-Linux-x86_64.tar.gz && mv cmake-3.15.7-Linux-x86_64 /usr/share/cmake-3.15.7 && \
wget https://github.com/Kitware/CMake/releases/download/v3.16.9/cmake-3.16.9-Linux-x86_64.tar.gz && \
tar -xvzf cmake-3.16.9-Linux-x86_64.tar.gz && mv cmake-3.16.9-Linux-x86_64 /usr/share/cmake-3.16.9 && \
wget https://github.com/Kitware/CMake/releases/download/v3.17.5/cmake-3.17.5-Linux-x86_64.tar.gz && \
tar -xvzf cmake-3.17.5-Linux-x86_64.tar.gz && mv cmake-3.17.5-Linux-x86_64 /usr/share/cmake-3.17.5 && \
wget https://github.com/Kitware/CMake/releases/download/v3.19.7/cmake-3.19.7-Linux-x86_64.tar.gz && \
tar -xvzf cmake-3.19.7-Linux-x86_64.tar.gz && mv cmake-3.19.7-Linux-x86_64 /usr/share/cmake-3.19.7 && \
wget https://github.com/Kitware/CMake/releases/download/v3.23.5/cmake-3.23.5-Linux-x86_64.tar.gz && \
tar -xvzf cmake-3.23.5-Linux-x86_64.tar.gz && mv cmake-3.23.5-linux-x86_64/ /usr/share/cmake-3.23.5 && \
update-alternatives --install /usr/bin/cmake cmake $CMAKE_3_15_7 10 && \
update-alternatives --install /usr/bin/cmake cmake $CMAKE_3_16_9 20 && \
update-alternatives --install /usr/bin/cmake cmake $CMAKE_3_17_5 30 && \
update-alternatives --install /usr/bin/cmake cmake $CMAKE_3_19_7 40 && \
update-alternatives --install /usr/bin/cmake cmake $CMAKE_3_23_5 50

RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 10 && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 30 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 10 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 30 && \
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 10 && \
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 10 && \
update-alternatives --set gcc /usr/bin/gcc-9 && \
update-alternatives --set g++ /usr/bin/g++-9 && \
update-alternatives --set clang /usr/bin/clang-14 && \
update-alternatives --set clang++ /usr/bin/clang++-14

RUN mkdir -p /usr/share/bazel-$BAZEL_6_3_2/bin && \
wget https://github.com/bazelbuild/bazel/releases/download/${BAZEL_6_3_2}/bazel-${BAZEL_6_3_2}-linux-x86_64 && \
chmod +x bazel-${BAZEL_6_3_2}-linux-x86_64 && \
mv bazel-${BAZEL_6_3_2}-linux-x86_64 /usr/share/bazel-$BAZEL_6_3_2/bin/bazel && \
mkdir -p /usr/share/bazel-$BAZEL_7_1_2/bin && \
wget https://github.com/bazelbuild/bazel/releases/download/${BAZEL_7_1_2}/bazel-${BAZEL_7_1_2}-linux-x86_64 && \
chmod +x bazel-${BAZEL_7_1_2}-linux-x86_64 && \
mv bazel-${BAZEL_7_1_2}-linux-x86_64 /usr/share/bazel-$BAZEL_7_1_2/bin/bazel

USER conan
WORKDIR $HOME

CMD ["/bin/bash"]
184 changes: 0 additions & 184 deletions .ci/jenkins/testsv2.jenkins

This file was deleted.

Loading
Loading