Skip to content

Jlf j16

Jlf j16 #330

Workflow file for this run

# This workflow will build a Java project with Ant
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant
name: Java CI
on:
push:
branches:
- master
- compiler-*
pull_request:
branches:
- master
jobs:
compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Compiler source
run: ant -noinput -buildfile build.xml -Dprotobuf.uptodate=true package
test-compiler:
needs: compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Run unit tests - compiler
run: ant -noinput -buildfile build.xml -Dprotobuf.uptodate=true test-compiler
test-functions:
needs: compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Run unit tests - functions
run: ant -noinput -buildfile build.xml -Dprotobuf.uptodate=true test-functions
test-datagen-general:
needs: compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Run unit tests - datagen - General
run: ant -noinput -buildfile build.xml -Dprotobuf.uptodate=true test-datagen-general
test-datagen-queries:
needs: compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Run unit tests - datagen - Queries
run: ant -noinput -buildfile build.xml -Dprotobuf.uptodate=true test-datagen-queries
test-datagen-java:
needs: compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Run unit tests - datagen - Java
run: ant -noinput -buildfile build.xml -Dprotobuf.uptodate=true test-datagen-java
test-datagen-js:
needs: compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Run unit tests - datagen - JavaScript
run: ant -noinput -buildfile build.xml -Dprotobuf.uptodate=true test-datagen-js
test-datagen-php:
needs: compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Run unit tests - datagen - PHP
run: ant -noinput -buildfile build.xml -Dprotobuf.uptodate=true test-datagen-php
checkstyle:
runs-on: ubuntu-latest
if: always()
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Run style checker
run: ant -noinput -buildfile build.xml -Dprotobuf.uptodate=true checkstyle