Merge branch 'master' into contrib/java11

This commit is contained in:
Joakim Eriksson 2022-05-13 16:09:54 +02:00 committed by GitHub
commit d74d615327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 4 deletions

22
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,22 @@
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
java: [ '11', '17' ]
name: Java ${{ matrix.Java }} sample
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Build MSPSim
- run: ant compile
- name: Test MSPSim
- run: ant test

View File

@ -1,4 +0,0 @@
language: java
jdk:
- oraclejdk8
- openjdk8