Skip to content

Adds example env script + changes JDK version of dep project to JDK17 #23

Adds example env script + changes JDK version of dep project to JDK17

Adds example env script + changes JDK version of dep project to JDK17 #23

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: [ubuntu-22.04]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: org.emoflon.ilp.updatesite
path: org.emoflon.ilp.updatesite/target/org.emoflon.ilp.updatesite-*.zip
test:
runs-on: [ubuntu-22.04]
needs: [build]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Install GLPK
run: |
sudo apt-get install -yq glpk-utils libglpk-dev glpk-doc libglpk-java libglpk40
sudo cp /usr/lib/x86_64-linux-gnu/jni/libglpk_java.* /usr/lib/
- name: Test with Maven
run: mvn --batch-mode --update-snapshots clean -Dtest=GlpkTest -DfailIfNoTests=false verify