Skip to content

Commit 2b4ab03

Browse files
lsk567claude
andcommitted
Fix lfc build path in CI workflow
- Use ./gradlew assemble instead of :cli:lfc-dev:assemble - Correct lfc binary path to build/install/lf-cli/bin Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4ad1d13 commit 2b4ab03

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
submodules: recursive
2828

2929
#===========================================
30-
# Install Java for lfc-dev
30+
# Install Java for lfc
3131
#===========================================
3232
- name: Install Java 17
3333
uses: actions/setup-java@v4
@@ -50,7 +50,7 @@ jobs:
5050
brew install cmake
5151
5252
#===========================================
53-
# Build lfc-dev from lingua-franca master
53+
# Build lfc from lingua-franca master
5454
#===========================================
5555
- name: Cache Gradle dependencies
5656
uses: actions/cache@v4
@@ -77,19 +77,19 @@ jobs:
7777
git clone --depth 1 https://github.com/lf-lang/lingua-franca.git
7878
fi
7979
80-
- name: Update and build lfc-dev
80+
- name: Update and build lfc
8181
run: |
8282
cd lingua-franca
8383
git fetch origin master --depth 1
8484
git checkout FETCH_HEAD
85-
./gradlew :cli:lfc-dev:assemble -x test
85+
./gradlew assemble
8686
87-
- name: Add lfc-dev to PATH
87+
- name: Add lfc to PATH
8888
run: |
89-
echo "${{ github.workspace }}/lingua-franca/org.lflang.cli/build/install/lfc-dev/bin" >> $GITHUB_PATH
89+
echo "${{ github.workspace }}/lingua-franca/build/install/lf-cli/bin" >> $GITHUB_PATH
9090
91-
- name: Verify lfc-dev installation
92-
run: lfc-dev --version
91+
- name: Verify lfc installation
92+
run: lfc --version
9393

9494
#===========================================
9595
# Build the trace plugin
@@ -139,7 +139,7 @@ jobs:
139139
# Uses system-installed plugin (no path specified)
140140
#===========================================
141141
- name: Compile TracePluginSystemPath.lf
142-
run: lfc-dev tests/src/TracePluginSystemPath.lf
142+
run: lfc tests/src/TracePluginSystemPath.lf
143143

144144
- name: Run TracePluginSystemPath
145145
run: ./tests/bin/TracePluginSystemPath
@@ -150,7 +150,7 @@ jobs:
150150
# Uses path: "../../install/" relative to .lf file
151151
#===========================================
152152
- name: Compile TracePluginUserPath.lf
153-
run: lfc-dev tests/src/TracePluginUserPath.lf
153+
run: lfc tests/src/TracePluginUserPath.lf
154154

155155
- name: Run TracePluginUserPath
156156
run: ./tests/bin/TracePluginUserPath
@@ -161,7 +161,7 @@ jobs:
161161
# Uses cmake-include with plugin.cmake
162162
#===========================================
163163
- name: Compile TracePluginCustomCmake.lf
164-
run: lfc-dev tests/src/TracePluginCustomCmake.lf
164+
run: lfc tests/src/TracePluginCustomCmake.lf
165165

166166
- name: Run TracePluginCustomCmake
167167
run: ./tests/bin/TracePluginCustomCmake

0 commit comments

Comments
 (0)