Skip to content

Commit 61d31da

Browse files
Add workflow file
1 parent 1748819 commit 61d31da

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run unit tests
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
unit-tests:
8+
runs-on: cern-nextgen-h100
9+
container: docker.io/oliverrietmann/o2-standalone:latest #registry.cern.ch/ngt-wp1.7/wp1.7-soa-wrapper:latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
with:
14+
path: /root/alice/AliceO2
15+
- name: Build and Run
16+
run: |
17+
export MODULEPATH=/cvmfs/alice.cern.ch/etc/toolchain/modulefiles/el9-x86_64:/cvmfs/alice.cern.ch/el9-x86_64/Modules/modulefiles
18+
module load O2/daily-20250625-0000-1 boost/v1.83.0-alice2-43 CMake/v3.31.6-4 Clang/v18.1.8-21 ninja/fortran-v1.11.1.g9-12 ROOT/v6-32-06-alice8-4
19+
20+
export ALICE_DIR=/root/alice
21+
export STANDALONE_DIR=/root/standalone
22+
export BUILD_DIR=${STANDALONE_DIR}/build
23+
24+
curl -o /root/events.tar.xz https://cernbox.cern.ch/remote.php/dav/public-files/cuQAwSojyDrl6FR/events.tar.xz
25+
tar -xf /root/events.tar.xz -C ${STANDALONE_DIR}
26+
rm /root/events.tar.xz
27+
28+
cmake -B $BUILD_DIR -DCMAKE_INSTALL_PREFIX=${STANDALONE_DIR} ${ALICE_DIR}/AliceO2/GPU/GPUTracking/Standalone/
29+
cd $BUILD_DIR
30+
make install -j8
31+
cd ${STANDALONE_DIR}
32+
${STANDALONE_DIR}/ca -e o2-pbpb-100 -g --gpuType CUDA --gpuDevice 0 --debug 1

0 commit comments

Comments
 (0)