ci(tests): build jdk module list and compare with historical

This commit is contained in:
Gauthier Roebroeck 2023-11-03 11:46:51 +08:00
parent e6313135ae
commit 33e10f5683

View File

@ -25,16 +25,19 @@ jobs:
java-version: 17
java-package: 'jdk'
distribution: 'temurin'
- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: build
arguments: build :komga-tray:jar
- name: Upload Unit Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: komga/build/test-results/
- name: Upload Unit Test Reports
if: always()
uses: actions/upload-artifact@v3
@ -42,6 +45,22 @@ jobs:
name: test-reports
path: komga/build/reports/tests/
- name: Conveyor - compute JDK module list
uses: hydraulic-software/conveyor/actions/build@v12.0
with:
command: -Kapp.machines=mac.aarch64 make processed-jars
agree_to_license: 1
- name: Compare JDK required modules
run: diff --unified ./komga-tray/conveyor/required-jdk-modules.txt ./output/required-jdk-modules.txt
- name: Upload JDK required modules
if: failure()
uses: actions/upload-artifact@v3
with:
name: conveyor-required-jdk-modules
path: ./output/required-jdk-modules.txt
webui:
runs-on: ubuntu-latest
name: Test webui builds