Set workflow runner to Ubuntu Jammy 22.04. #45
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout tests repository | |
uses: actions/checkout@v3 | |
with: | |
repository: feaser/microtbx-tests | |
submodules: true | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
path: 'third_party/microtbx' | |
- name: Generate build environment | |
working-directory: build | |
run: cmake .. | |
- name: Build test application | |
working-directory: build/tests/base/LINUX_PC | |
run: make | |
- name: Run test application | |
working-directory: build/tests/base/LINUX_PC | |
run: ./microtbx_tests |