-
Notifications
You must be signed in to change notification settings - Fork 4
56 lines (42 loc) · 1.79 KB
/
main.yml
File metadata and controls
56 lines (42 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: lucee-script-runner-maven-cache
- name: Cache Lucee files
uses: actions/cache@v4
with:
path: ~/work/script-runner/script-runner/lucee-download-cache/
key: lucee-downloads
- name: Run default
run: ant
- name: Run Latest Lucee 6 (via version query)
run: ant -DluceeVersionQuery="6/all/jar" -Dexecute="/debug.cfm"
- name: Run Lucee 6 Stable
run: ant -DluceeVersion="6.2.2.91" -Dexecute="/debug.cfm" -Dtruth="cfml rocks" -Dauthor="Zac Spitzer"
- name: Run Lucee 5 (using Lucee light, no extensions)
run: ant -DluceeVersion="light-5.4.2.17" -Dexecute="/debug.cfm"
- name: Run Lucee 6 (using Lucee zero, no extensions, no admin, no docs)
run: ant -DluceeVersion="zero-6.2.2.91" -Dexecute="/debug.cfm"
- name: Run Latest Lucee 5 RC Light
run: ant -DluceeVersionQuery="5/rc/light" -Dexecute="/debug.cfm"
- name: Run Latest Stable Lucee 5, compile webroot
run: ant -DluceeVersionQuery="5/stable/jar" -Dexecute="/index.cfm" -Dcompile="true"
- name: Run Latest Stable Lucee 5, compile webroot (invalid code)
continue-on-error: true
run: ant -DluceeVersionQuery="5/stable/jar" -Dexecute="/index.cfm" -Dcompile="true" -Dwebroot="${{ github.workspace }}/sampleBad/"
- name: Test concurrent execution with unique working directories
run: |
ant -DuniqueWorkingDir="true" -Dexecute="/debug.cfm" &
ant -DuniqueWorkingDir="true" -Dexecute="/debug.cfm" &
wait