Skip to content

Remove unused eventfd and add macOS testing to CI #1146

Remove unused eventfd and add macOS testing to CI

Remove unused eventfd and add macOS testing to CI #1146

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: write
jobs:
ci:
strategy:
matrix:
platform: [ubuntu-24.04, macos-latest]
name: ci
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- 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: 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
if: ${{ runner.os == 'Linux' }}
- 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' }} && ${{ runner.os == 'Linux' }}