updated readme #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: default | |
on: | |
push: | |
branches: | |
- '**' | |
- '!main' | |
- '!release*' | |
- '!experiment-*' | |
pull_request: | |
branches: | |
- 'main' | |
- 'devel' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ ubuntu-20.04, ubuntu-22.04 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Clean up workspace | |
uses: rtCamp/action-cleanup@master | |
- name: Chown user | |
run: | | |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y software-properties-common | |
- name: Build library | |
run: | | |
mkdir build && cd build | |
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DASAN_CHECK=OFF .. | |
cmake --build . && cpack | |
- name: Run unit test | |
run: | | |
cd ${GITHUB_WORKSPACE}/build | |
ctest |