Skip to content

Add a compilation flag to enable precomputed lookup tables #8

Add a compilation flag to enable precomputed lookup tables

Add a compilation flag to enable precomputed lookup tables #8

Workflow file for this run

name: Unit tests
on: [push, pull_request]
jobs:
c_unit_tests:
name: C unit tests
runs-on: ubuntu-latest
strategy:
matrix:
cmake_flags: ["", "-DUSE_INTRINSICS=ON", "-DUSE_ROM_TABLES=ON"]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Configure and Build
run: |
mkdir build && cd build
cmake -DBUILD_TESTING=ON ${{ matrix.cmake_flags }} ../
make
- name: Run unit tests
run: |
ctest -V
working-directory: build
java_unit_tests:
name: Java unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
cache: gradle
- name: Run Gradle
run: |
./gradlew build
working-directory: java