Skip to content

Commit 327cb61

Browse files
committed
add ci for Lucee 7.2
1 parent 52298e5 commit 327cb61

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,21 @@ jobs:
161161
path: agent/target/debugger-agent-*.jar
162162
retention-days: 1
163163

164-
# Test against Lucee 7.1 (native debugger branch)
165-
test-lucee-71:
166-
name: Test DAP - Lucee 7.1 (native)
164+
# Test extension mode against Lucee 7.1+ (native debugger)
165+
test-extension:
166+
name: Test DAP - Lucee ${{ matrix.lucee }} (native)
167167
runs-on: ubuntu-latest
168168
needs: [build-extension]
169+
strategy:
170+
fail-fast: false
171+
matrix:
172+
include:
173+
- lucee: "7.1"
174+
lucee_query: "7.1/all/jar"
175+
runner_query: "7.1/all/light"
176+
- lucee: "7.2"
177+
lucee_query: "7.2/all/jar"
178+
runner_query: "7.2/all/light"
169179

170180
steps:
171181
- name: Checkout luceedebug
@@ -215,9 +225,9 @@ jobs:
215225
curl -L -o express-template.zip "$EXPRESS_URL"
216226
unzip -q express-template.zip -d debuggee
217227
218-
- name: Download Lucee 7.1 JAR
228+
- name: Download Lucee ${{ matrix.lucee }} JAR
219229
run: |
220-
LUCEE_FILENAME=$(curl -s "https://update.lucee.org/rest/update/provider/latest/7/all/jar/filename")
230+
LUCEE_FILENAME=$(curl -s "https://update.lucee.org/rest/update/provider/latest/${{ matrix.lucee_query }}/filename")
221231
LUCEE_FILENAME=$(echo "$LUCEE_FILENAME" | tr -d '"')
222232
if [ -z "$LUCEE_FILENAME" ] || [[ "$LUCEE_FILENAME" == *"error"* ]]; then
223233
echo "ERROR: Could not get Lucee filename from update API"
@@ -333,7 +343,7 @@ jobs:
333343
with:
334344
webroot: ${{ github.workspace }}/lucee/test
335345
execute: /bootstrap-tests.cfm
336-
luceeVersionQuery: 7/all/light
346+
luceeVersionQuery: ${{ matrix.runner_query }}
337347
env:
338348
testLabels: dap
339349
testAdditional: ${{ github.workspace }}/test/cfml
@@ -360,7 +370,7 @@ jobs:
360370
if: failure()
361371
uses: actions/upload-artifact@v4
362372
with:
363-
name: debuggee-logs-71
373+
name: debuggee-logs-${{ matrix.lucee }}
364374
path: |
365375
debuggee/logs/
366376
debuggee/lucee-server/context/logs/
@@ -561,7 +571,7 @@ jobs:
561571
deploy:
562572
name: Deploy to Maven Central
563573
runs-on: ubuntu-latest
564-
needs: [test-lucee-71, test-agent]
574+
needs: [test-extension, test-agent]
565575
if: github.event_name == 'workflow_dispatch' && inputs.deploy && github.ref == 'refs/heads/main'
566576

567577
steps:

0 commit comments

Comments
 (0)