File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Verify GraalVM Compatibility
2
+
3
+ on :
4
+ push :
5
+ branches : ["master", "ci/**"]
6
+
7
+ jobs :
8
+ verify-graalvm :
9
+ strategy :
10
+ matrix :
11
+ build :
12
+ - " linux-amd64"
13
+ - " macos-amd64"
14
+ include :
15
+ - build : " linux-amd64"
16
+ os : " ubuntu-latest"
17
+ - build : " macos-amd64"
18
+ os : " macos-latest"
19
+ runs-on : ${{ matrix.os }}
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - uses : actions/checkout@v2
23
+ with :
24
+ repository : " into-docker/uhttp"
25
+ path : " uhttp"
26
+
27
+ - name : setup-clojure
28
+ uses :
DeLaGuardo/[email protected]
29
+ with :
30
+ lein : 2.9.1
31
+ - name : setup-graalvm-ce
32
+ uses :
DeLaGuardo/[email protected]
33
+ with :
34
+ graalvm : " 20.3.0"
35
+ java : " java11"
36
+ - name : setup-native-image
37
+ run : gu install native-image
38
+
39
+ - name : compile-native-image
40
+ run : |
41
+ lein install
42
+ cd uhttp
43
+ lein uberjar
44
+ native-image -jar target/uhttp.jar -H:Name=uhttp
45
+ chmod +x uhttp
46
+
47
+ - name : verify-result
48
+ run : uhttp/uhttp
You can’t perform that action at this time.
0 commit comments