File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Maven Build
2+ on :
3+ push :
4+ branches : [ master ]
5+ pull_request :
6+ branches : [ master ]
7+ permissions : {}
8+
9+ env :
10+ MAVEN_ARGS : >-
11+ --batch-mode --no-transfer-progress
12+
13+ jobs :
14+ event_file :
15+ name : " Upload Event File"
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Upload
19+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
20+ with :
21+ name : Event File
22+ path : ${{ github.event_path }}
23+ build :
24+ runs-on : ubuntu-latest
25+ name : Verify
26+ steps :
27+ - name : Checkout
28+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29+ - name : Install tools
30+ run : |
31+ sudo apt-get update
32+ sudo apt-get install linux-tools-oem valgrind
33+ - name : Set up Java
34+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
35+ with :
36+ java-version : 21
37+ mvn-toolchain-id : JavaSE-21
38+ distribution : ' temurin'
39+ cache : maven
40+ - name : Set up Maven
41+ uses : stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
42+ with :
43+ maven-version : 3.9.9
44+
45+ - name : Build with Maven
46+ run : >-
47+ ${{ 'xvfb-run' }}
48+ mvn clean verify
49+ - name : Upload Test Results
50+ if : always()
51+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
52+ with :
53+ name : test-results
54+ if-no-files-found : warn
55+ path : |
56+ ${{ github.workspace }}/**/target/surefire-reports/*.xml
57+ ${{ github.workspace }}/**/results/**/*.png
You can’t perform that action at this time.
0 commit comments