test job #11
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: 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/ | |