Skip to content

Commit

Permalink
build: Update workflows, add info badges
Browse files Browse the repository at this point in the history
  • Loading branch information
fkellner committed May 5, 2024
1 parent 50bc375 commit 5773230
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Build and publish JARs with Maven
name: Build and publish JARs with Maven, standalone with warp and docs with pandoc

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Build JARs with Maven and docs with pandoc

on:
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build and test DNG Processor
run: cd dng && mvn install '-Dtest=!de.unituebingen.opengl.**' && cd ..
- name: Compile and package CLI
run: cd cli && mvn package && cd ..
- name: Compile and package GUI
run: cd ui && mvn package
- name: Render Documentation PDFs (en)
uses: docker://pandoc/latex:3
with:
args: "-f markdown -t latex -V linkcolor:lightblue -o USER_MANUAL.pdf USER_MANUAL.md"
- name: Render Documentation PDFs (en)
uses: docker://pandoc/latex:3
with:
args: "-f markdown -t latex -V linkcolor:lightblue -o USER_MANUAL.de.pdf USER_MANUAL.de.md"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![Jeniffer2 Logo](jeniffer2-logo.png)

![Build and publish JARs with Maven](https://github.com/fkellner/jeniffer2/actions/workflows/maven.yml/badge.svg)
![Build Status](https://github.com/fkellner/jeniffer2/actions/workflows/publish.yml/badge.svg) ![OpenJDK 17](https://badgen.net/static/OpenJDK/17/green?icon=github) ![License: GPLv3](https://badgen.net/static/License/GPLv3/green?icon=github)

Jeniffer2 is a raw image processor written in Java. More Details can be found in the `USER_MANUAL.{pdf,md}`.

Expand Down

0 comments on commit 5773230

Please sign in to comment.