Skip to content

Update build_and_test_on_push.yml #868

Update build_and_test_on_push.yml

Update build_and_test_on_push.yml #868

on: [ push ]
name: build and test
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install required packages
run: sudo apt-get update && sudo apt-get install -y
git \
bash \
cmake \
make \
g++ \
python3-dev \
autoconf \
build-essential \
libjemalloc-dev
python3 -m pip install distutils

Check failure on line 21 in .github/workflows/build_and_test_on_push.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_and_test_on_push.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
- name: Init and update submodules
run: git submodule update --init --recursive
- name: Build odgi
run: cmake -H. -DCMAKE_BUILD_TYPE=Debug -Bbuild && cmake --build build -- -j 2
- name: Run odgi program tests
run: ASAN_OPTIONS=detect_leaks=1:symbolize=1 LSAN_OPTIONS=verbosity=0:log_threads=1 bin/odgi test
- name: Run remaining tests
run: ctest --test-dir build -E odgi-test --verbose