-
Notifications
You must be signed in to change notification settings - Fork 30
48 lines (42 loc) · 1.35 KB
/
Copy pathci-build.yaml
File metadata and controls
48 lines (42 loc) · 1.35 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
name: CI Build
on:
push:
concurrency:
group: ci-build-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# 5.5 is the minimum supported JMeter version, 5.6.3 the latest; both are exercised
# end-to-end (unit + HTTP parity regression tests) since ApacheJMeter_* are provided-scope
# and the same compiled plugin must behave correctly against either at runtime.
jmeter_version: ["5.5", "5.6.3"]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Java 17
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: "17"
cache: maven
- name: Build and test (JMeter ${{ matrix.jmeter_version }})
run: >-
xvfb-run -a mvn -U --batch-mode
-Djmeter.version=${{ matrix.jmeter_version }}
clean install
- name: Upload build artifacts
if: always()
uses: actions/upload-artifact@v6
with:
name: ci-build-artifacts-${{ matrix.jmeter_version }}-${{ github.run_id }}
path: |
target/jmeter-bzm-http2-*.jar
target/jmeter-test
target/failsafe-reports
target/surefire-reports
if-no-files-found: warn
retention-days: 30