Merge pull request #154 from nathan818fr/release-workflow #12
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 | |
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 | |
git submodule update --init --recursive | |
- name: Configure and Build | |
run: | | |
cmake -S . -B build | |
cmake --build build | |
- name: Archive Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: libmem-artifacts | |
path: | | |
build/ | |
- name: Run Tests | |
run: | | |
cd build | |