Skip to content

CI setup

CI setup #2

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: "adopt"
- name: build jpf-core
run:
cd $HOME/work/jpf-nhandler;
git clone https://github.com/javapathfinder/jpf-core.git;
cd jpf-core;
./gradlew build
- name: create site.properties file
run:
mkdir $HOME/.jpf;
echo "jpf-core = ${HOME}/work/jpf-nhandler/jpf-core" >> $HOME/.jpf/site.properties;
echo "extensions=${HOME}/work/jpf-nhandler/jpf-core" >> $HOME/.jpf/site.properties;
- name: Build and test jpf-nhandler
run:
./gradlew clean check