
* [CI] Add basic unit testing * [CI] Add gitignore * [CI] Install libfmt --------- Co-authored-by: jgromes <jan.gromes>
27 lines
492 B
YAML
27 lines
492 B
YAML
name: "Unit test"
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
unit-test:
|
|
name: Build and run unit test
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libboost-all-dev libfmt-dev
|
|
|
|
- name: Run unit test
|
|
run: |
|
|
cd extras/test/unit
|
|
./test.sh
|