Rework HIL #2155
This file contains hidden or 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: Test | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install GNU cross compilation | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install gcc-multilib g++-multilib | |
| - name: Configure CMake | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. -DCMAKE_BUILD_TYPE=Test | |
| - name: Build | |
| run: | | |
| cd build | |
| cmake --build . | |
| - name: Run Tests | |
| run: | | |
| cd build | |
| ctest --verbose |