Skip to content

Extend Git Actions with UT for Linux #35

Extend Git Actions with UT for Linux

Extend Git Actions with UT for Linux #35

name: Linux build check
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
issues: write
pull-requests: write
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
ls
ls ..
- name: Publish Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
check_name: View Test Results
files: "*/am_test_result.txt"