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

Add axis for docker builds #1

Merged
merged 2 commits into from
Oct 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
29 changes: 29 additions & 0 deletions ci/axis/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
SDK_TYPE:
- nvidia/cuda

SDK_VER:
- 11.0-devel

OS_TYPE:
- ubuntu

OS_VER:
- 18.04

CXX_TYPE:
- clang
- gcc

CXX_VER:
- 5
- 6
- 7
- 8
- 9
- 10

exclude:
- CXX_TYPE: clang
CXX_VER: 5
- CXX_TYPE: clang
CXX_VER: 6
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a missing newline?

4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ RUN if [[ "${OS_TYPE}" == "ubuntu"* ]]; then \
apt-get -y --no-install-recommends install wget ca-certificates; \
apt-get -y --no-install-recommends install python3-pip python3-setuptools python3-wheel; \
apt-get -y --no-install-recommends install cmake; \
if [[ "{CXX_TYPE}" == "gcc" ]]; then \
if [[ "${CXX_TYPE}" == "gcc" ]]; then \
apt-get -y --no-install-recommends install g++-${CXX_VER}; \
elif [[ "{CXX_TYPE}" == "clang" ]]; then \
elif [[ "${CXX_TYPE}" == "clang" ]]; then \
apt-get -y --no-install-recommends install clang-${CXX_VER}; \
fi; \
apt-get clean; \
Expand Down