jpf-nhandler's tests are failing on amd based machines (#12) #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |