Skip to content

Commit

Permalink
Add CI to test build in odin-data container
Browse files Browse the repository at this point in the history
  • Loading branch information
GDYendell committed Sep 27, 2024
1 parent 7b471a3 commit 0066892
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: C++ CI
on: [push, pull_request]

jobs:
test:
runs-on: ghcr.io/odin-detector/odin-data-build:latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build eiger-detector
run: |
mkdir -p build && cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/odin -DODINDATA_ROOT_DIR=/odin ../cpp && \
make -j8 VERBOSE=1 && \
make install

0 comments on commit 0066892

Please sign in to comment.