Linux x86_64 Test #119
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 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 |