Linux i686 Test #31
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 i686 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 -y install cmake make gcc-multilib g++-multilib python3 | |
- name: Configure and Build | |
run: | | |
mkdir build | |
cmake -S . -B build -DLIBMEM_ARCH="i686" -DCMAKE_C_FLAGS="-m32 -fpermissive" -DCMAKE_CXX_FLAGS="-m32 -fpermissive" -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 |