Skip to content
Closed
Changes from all commits
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
60 changes: 60 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ jobs:
java -jar "$JAR" db archive -h
java -jar "$JAR" keystore --help

- name: Upload test logs
if: always()
continue-on-error: true
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.
overwrite: true

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 +114,18 @@ jobs:
java -jar "$JAR" db archive -h
java -jar "$JAR" keystore --help

- name: Upload test logs
if: always()
continue-on-error: true
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
overwrite: true

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 +181,18 @@ jobs:
- name: Test with RocksDB engine
run: ./gradlew :framework:testWithRocksDb --no-daemon

- name: Upload test logs
if: always()
continue-on-error: true
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
overwrite: true

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 +247,18 @@ jobs:
- name: Test with RocksDB engine
run: ./gradlew :framework:testWithRocksDb --no-daemon --no-build-cache

- name: Upload test logs
if: always()
continue-on-error: true
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
overwrite: true

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

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

- name: Upload test logs
if: always()
continue-on-error: true
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
overwrite: true

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

Expand Down
Loading