-
Notifications
You must be signed in to change notification settings - Fork 16
25 lines (25 loc) · 918 Bytes
/
unit-tests.yml
File metadata and controls
25 lines (25 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Unit-Testing
on: push
jobs:
unit-test:
runs-on: ubuntu-latest
container: debian:bookworm
if: ${{ always() }}
steps:
- uses: actions/checkout@v2
- name: Update debian
run: apt update
- name: Install dependencies
with:
submodules: recursive
fetch-depth: 0
run: |
./scripts/generate_datafed.sh
./external/DataFedDependencies/scripts/install_core_dependencies.sh
- name: Build
run: |
/opt/datafed/dependencies/bin/cmake -S. -B build -DCMAKE_BUILD_TYPE=Debug -DBUILD_WEB_SERVER=OFF
/opt/datafed/dependencies/bin/cmake --build build -j4
- name: Run tests
run: |
/opt/datafed/dependencies/bin/cmake --build build --target test