Setup Doxygen #977
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
ci: | |
name: ci | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install deps | |
run: | | |
sudo apt-get install lcov pipx -y | |
sudo pipx install clang-format clang-tidy | |
- name: Setup java and gradle for compiling lfc | |
uses: ./.github/actions/lingua-franca | |
# Uncomment to SSH into the runner. | |
# - name: Setup upterm session | |
# uses: lhotari/action-upterm@v1 | |
- name: Format check | |
run: make format-check | |
- name: Run unit tests | |
run: make unit-test | |
- name: Run LF integration tests | |
run: | | |
source env.bash | |
make lf-test | |
- name: Build examples | |
run: make examples | |
- name: Coverage | |
run: make coverage | |
- name: Publish coverage results | |
uses: romeovs/lcov-reporter-action@2a28ec3e25fb7eae9cb537e9141603486f810d1a | |
with: | |
lcov-file: build/coverage.info | |
delete-old-comments: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
if: ${{ github.event_name == 'pull_request' }} |