File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : compile
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ branches :
8+ - master
9+ permissions :
10+ contents : read
11+ packages : read
12+ jobs :
13+ compile :
14+ runs-on : ubuntu-24.04
15+ container :
16+ image : ghcr.io/rwth-i6/rasr:build
17+ credentials :
18+ username : ${{ github.actor }}
19+ password : ${{ secrets.GITHUB_TOKEN }}
20+ steps :
21+ - uses : actions/checkout@v2
22+ with :
23+ path : " rasr"
24+ - name : Compile RASR
25+ run : |
26+ cd rasr
27+ ./apptainer/2025-04-23_tensorflow-2.17_onnx-1.20_v2/setup_makefiles.sh
28+ make -j4
Original file line number Diff line number Diff line change 1+ FROM nvcr.io/nvidia/tensorflow:25.02-tf2-py3
2+
3+ # all the fundamental basics, zsh is needed because calling the cache manager might launch the user shell
4+ RUN DEBIAN_FRONTEND=noninteractive apt update -y && apt install -y wget git unzip gzip libssl-dev lsb-release zsh \
5+ bison libxml2-dev libopenblas-dev libsndfile1-dev libcrypto++-dev libcppunit-dev \
6+ libavformat-dev libavcodec-dev libavutil-dev parallel xmlstarlet python3-lxml htop \
7+ strace gdb sox python3-pip cmake ffmpeg vim
8+
9+ RUN pip3 install "pybind11[global]"
10+
11+ # download the cache manager and place in /usr/local
12+ RUN cd /usr/local && git clone https://github.com/rwth-i6/cache-manager.git && cd bin && ln -s ../cache-manager/cf cf
13+
14+ RUN echo /usr/local/lib/python3.12/dist-packages/tensorflow > /etc/ld.so.conf.d/tensorflow.conf
15+
16+ RUN cd /usr/local &&\
17+ wget -q https://github.com/microsoft/onnxruntime/releases/download/v1.20.1/onnxruntime-linux-x64-gpu-1.20.1.tgz &&\
18+ tar xzvf onnxruntime-linux-x64-*.tgz &&\
19+ mkdir -p /usr/local/{include,lib} &&\
20+ mv onnxruntime-linux-x64-*/include/* /usr/local/include/ &&\
21+ mv onnxruntime-linux-x64-*/lib/* /usr/local/lib/ &&\
22+ rm -r onnxruntime-linux-x64-*
23+
24+ RUN ldconfig
25+
You can’t perform that action at this time.
0 commit comments