Skip to content

Add test

Add test #88

Workflow file for this run

name: Build and test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install requirements
run: sudo apt install ninja-build g++-aarch64-linux-gnu qemu qemu-system-aarch64 qemu-user
- name: Install Python packages
run: pip install pytest numpy cmake-format
- name: format
run: ./run-format.sh
- name: CMake
run: mkdir build && cd build && cmake -GNinja -DSOLD_PYBIND_TEST=ON ..
- name: Build
run: cmake --build build
- name: Test
run: cd build && ctest --output-on-failure