AM-77 Remove sh_mem and related sources from the project #124
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux build | |
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: Checkout silber repo | |
uses: actions/checkout@v3 | |
with: | |
repository: MaksymT17/aquamarine | |
ref: ${{ github.head_ref }} # Use the head reference of the pull request | |
path: aquamarine | |
- 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" | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: aquamarine_build_Linux | |
path: aquamarine/build |