little things #99
Workflow file for this run
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: Automatic Tests | |
| on: push | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # Give the default GITHUB_TOKEN write permission to commit and push the | |
| # added or changed files to the repository. | |
| contents: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Install Qt6 dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y qt6-base-dev-tools libqt6serialport6-dev qt6-base-dev libqt6svg6-dev libqt5serialport5-dev libgtest-dev | |
| - name: Install CMake | |
| run: | | |
| sudo apt-get install -y cmake | |
| - name: Initialize submodules | |
| run: git submodule update --init --recursive | |
| - name: Configure and build project | |
| run: | | |
| mkdir build && cd build | |
| cmake .. | |
| cmake --build . | |
| - name: Run tests | |
| run: | | |
| cd build | |
| ./GUI/tests/my_tests > ../test_results.txt | |
| - name: Debug README.md contents | |
| run: cat README.md |