Merge pull request #318 from lf-lang/last-time #2006
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: 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 | |
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 | |
uses: lf-lang/lingua-franca/.github/workflows/c-arduino-tests.yml@master | |
with: | |
runtime-ref: ${{ github.ref }} | |
compiler-ref: ${{ needs.fetch-lf.outputs.ref }} | |
lf-default-zephyr: | |
needs: fetch-lf | |
uses: lf-lang/lingua-franca/.github/workflows/c-zephyr-tests.yml@master | |
with: | |
runtime-ref: ${{ github.ref }} | |
compiler-ref: ${{ needs.fetch-lf.outputs.ref }} | |
lf-default: | |
needs: fetch-lf | |
uses: lf-lang/lingua-franca/.github/workflows/c-tests.yml@master | |
with: | |
runtime-ref: ${{ github.ref }} | |
compiler-ref: ${{ needs.fetch-lf.outputs.ref }} | |
lf-python: | |
needs: fetch-lf | |
uses: lf-lang/lingua-franca/.github/workflows/py-tests.yml@master | |
with: | |
reactor-c-ref: ${{ github.ref }} | |
compiler-ref: ${{ needs.fetch-lf.outputs.ref }} | |
lf-gedf-np: | |
needs: fetch-lf | |
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 | |
lf-adaptive: | |
needs: fetch-lf | |
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 |