Bump version to 1.2.0 #18
Workflow file for this run
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: 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_FEWER_TABLES=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 |