-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 1.21 KB
/
ci-build.yml
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: cost-accounting-benchmark-CI
on:
push:
paths:
- 'java/cost-accounting-benchmark/**'
- '.github/**'
pull_request:
workflow_dispatch:
jobs:
Build:
runs-on: ubuntu-latest
permissions:
checks: write
timeout-minutes: 30
defaults:
run:
shell: bash
working-directory: java/cost-accounting-benchmark
env:
JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
steps:
- name: Setup_Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Checkout
uses: actions/checkout@v4
- name: Assemble
run: |
./gradlew -i showTsubakuroManifest showIceaxeManifest clean assemble --warning-mode all
- name: Check
run: |
./gradlew -i check --continue --warning-mode all
- name: Verify
uses: project-tsurugi/tsurugi-annotations-action@v1
if: always()
with:
junit_input: 'java/cost-accounting-benchmark/build/test-results/**/TEST-*.xml'
junit_test_src_dir: 'java/cost-accounting-benchmark/src/test/java'
spotbugs_input: 'java/cost-accounting-benchmark/build/reports/spotbugs/main/*.xml'