Skip to content

Draft: Removal of LTC #2525

Draft: Removal of LTC

Draft: Removal of LTC #2525

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
# Also allow running this workflow manually from the Actions tab.
workflow_dispatch:
jobs:
unit-tests-single:
uses: ./.github/workflows/unit-tests.yml
with:
cmake-args: '-UNUMBER_OF_WORKERS -DLF_SINGLE_THREADED=1'
unit-tests-multi:
uses: ./.github/workflows/unit-tests.yml
with:
cmake-args: '-DNUMBER_OF_WORKERS=4 -ULF_SINGLE_THREADED'
build-rti:
uses: ./.github/workflows/build-rti.yml
build-trace-tools:
uses: ./.github/workflows/build-trace-tools.yml
check-diff:
uses: ./.github/workflows/check-diff.yml
fetch-lf:
uses: lf-lang/lingua-franca/.github/workflows/extract-ref.yml@master
with:
file: 'lingua-franca-ref.txt'
lf-default-arduino:
needs: [fetch-lf, check-diff]
uses: lf-lang/lingua-franca/.github/workflows/c-arduino-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
if: ${{ needs.check-diff.outputs.run_arduino == 'true' }}
lf-default-zephyr:
needs: [fetch-lf, check-diff]
uses: lf-lang/lingua-franca/.github/workflows/c-zephyr-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
if: ${{ needs.check-diff.outputs.run_zephyr == 'true' }}
lf-default:
needs: [fetch-lf, check-diff]
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
all-platforms: ${{ needs.check-diff.outputs.run_macos == 'true' || needs.check-diff.outputs.run_windows == 'true' }}
lf-python:
needs: [fetch-lf, check-diff]
uses: lf-lang/lingua-franca/.github/workflows/py-tests.yml@master
with:
reactor-c-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
if: ${{ needs.check-diff.outputs.run_python == 'true' }}
lf-gedf-np:
needs: [fetch-lf, check-diff]
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
scheduler: GEDF_NP
all-platforms: ${{ needs.check-diff.outputs.run_macos == 'true' || needs.check-diff.outputs.run_windows == 'true' }}
lf-adaptive:
needs: [fetch-lf, check-diff]
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master
with:
runtime-ref: ${{ github.ref }}
compiler-ref: ${{ needs.fetch-lf.outputs.ref }}
scheduler: ADAPTIVE
all-platforms: ${{ needs.check-diff.outputs.run_macos == 'true' || needs.check-diff.outputs.run_windows == 'true' }}