Skip to content

Linux x86_64 Test

Linux x86_64 Test #119

Workflow file for this run

name: Linux x86_64 Test
on: [workflow_dispatch]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install Dependencies
run: |
sudo apt-get update && sudo apt-get -y install cmake make gcc g++ python3
- name: Configure and Build
run: |
mkdir build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DLIBMEM_BUILD_TESTS=ON -DLIBMEM_BUILD_STATIC=ON
cd build
make -j 4
cd ..
- name: Run Unit Tests
run: |
echo "Starting target..."
./build/tests/target &
echo "Starting unit tests..."
sudo ./build/tests/unit