Commit e21e020 1 parent f26c838 commit e21e020 Copy full SHA for e21e020
File tree 2 files changed +43
-0
lines changed
2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ${{ matrix.os }}
10
+ strategy :
11
+ matrix :
12
+ os : [ubuntu-latest]
13
+ steps :
14
+ - name : Checkout repository
15
+ uses : actions/checkout@v2
16
+ with :
17
+ fetch-depth : 0
18
+ - name : Set up JDK 11
19
+ uses : actions/setup-java@v2
20
+ with :
21
+ java-version : 11
22
+ distribution : " adopt"
23
+
24
+ - name : build jpf-core
25
+ run :
26
+ cd $HOME/work/jpf-nhandler;
27
+ git clone https://github.com/javapathfinder/jpf-core.git;
28
+ cd jpf-core;
29
+ ./gradlew build
30
+
31
+ - name : create site.properties file
32
+ run :
33
+ mkdir $HOME/.jpf;
34
+ echo "jpf-core = ${HOME}/work/jpf-nhandler/jpf-core" >> $HOME/.jpf/site.properties;
35
+ echo "jpf-numeric = ${HOME}/work/jpf-nhandler/jpf-numeric" >> $HOME/.jpf/site.properties;
36
+ echo "jpf-aprop = ${HOME}/work/jpf-nhandler/jpf-aprop" >> $HOME/.jpf/site.properties;
37
+ echo "extensions=${HOME}/work/jpf-nhandler/jpf-core,${HOME}/work/jpf-nhandler/jpf-aprop" >> $HOME/.jpf/site.properties;
38
+ echo "jpf-nhandler = ${HOME}/work/jpf-nhandler/jpf-nhandler" >> $HOME/.jpf/site.properties
39
+
40
+ - name : Build and test jpf-nhandler
41
+ run :
42
+ ./gradlew clean check
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ onthefly/
7
7
* ~
8
8
* .DS_Store
9
9
* .swp
10
+ .idea
You can’t perform that action at this time.
0 commit comments