Skip to content

test job

test job #7

name: Libmem Linux x86 Tester
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcovr
sudo chmod +x tools/unit_test.sh
git submodule update --init --recursive
- name: Configure and Build
run: |
cmake -S . -B build -DLIBMEM_BUILD_TESTS=ON
cmake --build build
- name: Run Unit Tests
run: |
sudo tools/unit_test.sh
- name: Archive Artifacts
uses: actions/upload-artifact@v2
with:
name: libmem-artifacts
path: |
build/