Skip to content

Extend Git Actions with UT for Linux #4

Extend Git Actions with UT for Linux

Extend Git Actions with UT for Linux #4

name: C/C++ CI
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: |
cd aquamarine/unit_tests
./prepare_build.sh
./make_and_run_tests.sh
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
ls
aquamarine/unit_tests/build/am_ut_report.xml
test-results/**/*.xml
test-results/**/*.json