Skip to content

Extend Git Actions with UT for Linux #20

Extend Git Actions with UT for Linux

Extend Git Actions with UT for Linux #20

name: Linux build check
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install packages
run: sudo apt -y install git g++ cmake libsqlite3-dev gcovr
- name: Clone aquamarine repo
run: git clone https://github.com/MaksymT17/aquamarine.git
- name: Build artifacts with Cmake
run: |
cd aquamarine
./build.sh
- name: Run unit tests
run: |
ls
cd aquamarine/unit_tests
./prepare_build.sh
./make_and_run_tests.sh
ls aquamarine/unit_tests/build
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/linux@v2
if: always()
with:
files: |
test-results/**/*.xml
aquamarine/unit_tests/*.xml