File tree 1 file changed +33
-15
lines changed
1 file changed +33
-15
lines changed Original file line number Diff line number Diff line change 1
- name : Clojure CI
2
-
3
- on :
4
- push :
5
- branches : [ master ]
6
- pull_request :
7
- branches : [ master ]
8
-
1
+ name : clj-djl
2
+ on : [push]
9
3
jobs :
10
- build :
4
+ clojure :
5
+ strategy :
6
+ matrix :
7
+ os : [ubuntu-latest, macOS-latest, windows-latest]
11
8
12
- runs-on : ubuntu-latest
9
+ runs-on : ${{ matrix.os }}
13
10
14
11
steps :
15
- - uses : actions/checkout@v2
16
- - name : Install dependencies
17
- run : lein deps
18
- - name : Run tests
19
- run : lein test
12
+ - name : Checkout
13
+ uses : actions/checkout@v2
14
+
15
+ - name : Prepare java
16
+ uses : actions/setup-java@v2
17
+ with :
18
+ distribution : ' zulu'
19
+ java-version : ' 8'
20
+
21
+ - name : Install clojure tools
22
+ uses :
DeLaGuardo/[email protected]
23
+ with :
24
+ # Install just one or all simultaneously
25
+ # The value must indicate a particular version of the tool, or use 'latest'
26
+ # to always provision the latest version
27
+ cli : 1.11.1.1113 # Clojure CLI based on tools.deps
28
+
29
+ - name : Execute clojure code on Linux and MacOS
30
+ if : ${{ matrix.os != 'windows-latest' }}
31
+ run : clojure -T:build ci
32
+ shell : bash
33
+
34
+ - name : Execute clojure code on Windows
35
+ if : ${{ matrix.os == 'windows-latest' }}
36
+ run : clojure -T:build ci
37
+ shell : powershell
You can’t perform that action at this time.
0 commit comments