Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ jobs:
java -jar "$JAR" db archive -h
java -jar "$JAR" keystore --help

- name: Upload test logs
if: always()
uses: actions/upload-artifact@v6
with:
name: tron-test-log-macos26-aarch64
Comment thread
halibobo1205 marked this conversation as resolved.
path: |
**/logs/tron-test*.log*
if-no-files-found: warn
retention-days: 1
Comment thread
halibobo1205 marked this conversation as resolved.

build-ubuntu:
name: Build ubuntu24 (JDK 17 / aarch64)
if: ${{ github.event_name == 'pull_request' || inputs.job == 'all' || inputs.job == 'ubuntu' }}
Expand Down Expand Up @@ -102,6 +112,16 @@ jobs:
java -jar "$JAR" db archive -h
java -jar "$JAR" keystore --help

- name: Upload test logs
if: always()
uses: actions/upload-artifact@v6
with:
name: tron-test-log-ubuntu24-aarch64
path: |
**/logs/tron-test*.log*
if-no-files-found: warn
retention-days: 1

docker-build-rockylinux:
name: Build rockylinux (JDK 8 / x86_64)
if: ${{ github.event_name == 'pull_request' || inputs.job == 'all' || inputs.job == 'rockylinux' }}
Expand Down Expand Up @@ -157,6 +177,16 @@ jobs:
- name: Test with RocksDB engine
run: ./gradlew :framework:testWithRocksDb --no-daemon

- name: Upload test logs
if: always()
uses: actions/upload-artifact@v6
with:
name: tron-test-log-rockylinux-x86_64
path: |
**/logs/tron-test*.log*
if-no-files-found: warn
retention-days: 1

docker-build-debian11:
name: Build debian11 (JDK 8 / x86_64)
if: ${{ github.event_name == 'pull_request' || inputs.job == 'all' || inputs.job == 'debian11' }}
Expand Down Expand Up @@ -211,6 +241,16 @@ jobs:
- name: Test with RocksDB engine
run: ./gradlew :framework:testWithRocksDb --no-daemon --no-build-cache

- name: Upload test logs
if: always()
uses: actions/upload-artifact@v6
with:
name: tron-test-log-debian11-x86_64
path: |
**/logs/tron-test*.log*
if-no-files-found: warn
retention-days: 1

- name: Generate module coverage reports
run: ./gradlew jacocoTestReport --no-daemon

Expand Down Expand Up @@ -271,6 +311,16 @@ jobs:
continue-on-error: true
run: ./gradlew :framework:testWithRocksDb --no-daemon --no-build-cache

- name: Upload test logs
if: always()
uses: actions/upload-artifact@v6
with:
name: tron-test-log-coverage-base-x86_64
path: |
**/logs/tron-test*.log*
if-no-files-found: warn
retention-days: 1

- name: Generate module coverage reports (base)
run: ./gradlew jacocoTestReport --no-daemon

Expand Down
Loading