Skip to content

Commit

Permalink
Merge pull request #64 from lf-lang/formatting
Browse files Browse the repository at this point in the history
Apply the formatter to all benchmarks
  • Loading branch information
cmnrd authored Mar 11, 2024
2 parents e11e02d + 7dc2484 commit b5673a1
Show file tree
Hide file tree
Showing 99 changed files with 13,374 additions and 14,676 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,37 @@ jobs:
with:
target: 'TS'

find-latest-release:
uses: lf-lang/lingua-franca/.github/workflows/latest-release.yml@master

check-compile:
runs-on: ubuntu-latest
needs: find-latest-release
steps:
- uses: actions/checkout@v3
- name: Set up Java 17
run: |
echo "$JAVA_HOME_17_X64/bin" >> $GITHUB_PATH
echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
shell: bash
- uses: lf-lang/action-check-lf-files@main
with:
check_mode: "compile"
no_compile_flag: false
compiler_ref: ${{ needs.find-latest-release.outputs.ref }}

check-format:
runs-on: ubuntu-latest
needs: find-latest-release
steps:
- uses: actions/checkout@v3
- name: Set up Java 17
run: |
echo "$JAVA_HOME_17_X64/bin" >> $GITHUB_PATH
echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
shell: bash
- uses: lf-lang/action-check-lf-files@main
with:
check_mode: "format"
compiler_ref: ${{ needs.find-latest-release.outputs.ref }}

28 changes: 0 additions & 28 deletions C/Distributed/src/PingPongDistributed.lf

This file was deleted.

20 changes: 0 additions & 20 deletions C/Distributed/src/RESULTS.md

This file was deleted.

51 changes: 0 additions & 51 deletions C/Distributed/src/TimeLimitDistributed.lf

This file was deleted.

47 changes: 0 additions & 47 deletions C/Distributed/src/TimeLimitDistributedDecentralized.lf

This file was deleted.

55 changes: 0 additions & 55 deletions C/Distributed/src/TimeLimitDistributedDecentralized2.lf

This file was deleted.

61 changes: 0 additions & 61 deletions C/Distributed/src/TimeLimitDistributedDecentralizedClockSync.lf

This file was deleted.

47 changes: 0 additions & 47 deletions C/Distributed/src/TimeLimitDistributedPhysical.lf

This file was deleted.

Loading

0 comments on commit b5673a1

Please sign in to comment.