File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -211,3 +211,13 @@ jobs:
211211
212212 - name : Run unit tests (ctest) within the Docker image
213213 run : docker run ctl:latest sh -c "cd ./build && ctest"
214+
215+ ubuntu-22-04-openexr33 :
216+ runs-on : ubuntu-latest
217+ steps :
218+ - uses : actions/checkout@v4
219+ - name : Build the Docker image
220+ run : docker build --no-cache --rm -f ./docker/Dockerfile_ubuntu_22.04_openexr33 -t ctl:latest .
221+
222+ - name : Run unit tests (ctest) within the Docker image
223+ run : docker run ctl:latest sh -c "cd ./build && ctest"
Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ RUN apt-get update
4+
5+ # disable interactive install
6+ ENV DEBIAN_FRONTEND noninteractive
7+
8+ # install developement tools
9+ RUN apt-get -y install cmake
10+ RUN apt-get -y install g++
11+ RUN apt-get -y install git
12+
13+ # install CTL dependencies
14+ RUN apt-get -y install libtiff-dev
15+
16+ # install CTL dependecies - openexr
17+ WORKDIR /usr/src/
18+ RUN git clone https://github.com/AcademySoftwareFoundation/openexr.git
19+ WORKDIR /usr/src/openexr
20+ RUN git checkout RB-3.3
21+ WORKDIR /usr/src/openexr/build
22+ RUN cmake .. -DBUILD_TESTING=OFF -DOPENEXR_BUILD_TOOLS=OFF -DOPENEXR_INSTALL_EXAMPLES=OFF
23+ RUN make
24+ RUN make install
25+
26+ # build CTL
27+ WORKDIR /usr/src/CTL
28+ COPY . .
29+ WORKDIR /usr/src/CTL/build
30+ RUN rm -R * || true
31+ RUN cmake ..
32+ RUN make
33+ RUN make install
34+
35+ # finalize docker environment
36+ WORKDIR /usr/src/CTL
37+
You can’t perform that action at this time.
0 commit comments