Skip to content

Commit

Permalink
Add Java CI
Browse files Browse the repository at this point in the history
  • Loading branch information
metopa committed Nov 29, 2019
1 parent 50eebef commit 01b402f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test_java_make.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Java programs

on:
- push
- pull_request

jobs:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
mode: [stub, solution]
include:
- mode: stub
folder: epi_judge_java
- mode: solution
folder: epi_judge_java_solutions

steps:
- uses: actions/checkout@v1
- name: Set up Java 11
uses: actions/setup-java@v1
with:
java-version: '11.0.4'
java-package: jdk
- name: Compile
run: make -C ${{ matrix.folder }} all
- name: Test
run: python epijudge_ci_test_tool.py java ${{ matrix.mode }} .

0 comments on commit 01b402f

Please sign in to comment.