Skip to content

AM-68 Introduce GHA build for Mac OS #45

AM-68 Introduce GHA build for Mac OS

AM-68 Introduce GHA build for Mac OS #45

Workflow file for this run

name: Linux build check
on:
pull_request:
branches: [ "master" ]
permissions:
issues: write
pull-requests: write
checks: 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 libjpeg-dev
- name: Clone aquamarine repo
run: git clone --branch ${{ github.head_ref }} https://github.com/MaksymT17/aquamarine.git
- name: Build artifacts with Cmake
run: |
cd aquamarine &&
./build.sh
- name: Run unit test
run: |
cd aquamarine/unit_tests &&
./prepare_build.sh &&
cd build &&
make -j8 &&
./aquamarine_ut --gtest_output="xml"
- name: Publish Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
check_name: Unit test results
files: "**/test_detail.xml"