File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 71
71
- name : test
72
72
run : |
73
73
make test
74
+ linux-riscv64 :
75
+ runs-on : ubuntu-latest
76
+ defaults :
77
+ run :
78
+ shell : alpine.sh {0}
79
+ steps :
80
+ - uses : actions/checkout@v3
81
+ - uses : jirutka/setup-alpine@v1
82
+ with :
83
+ arch : riscv64
84
+ packages : " build-base make cmake"
85
+ - name : build
86
+ run : |
87
+ make
88
+ - name : stats
89
+ run : |
90
+ make stats
91
+ - name : test
92
+ run : |
93
+ make test
74
94
linux-s390x :
75
95
runs-on : ubuntu-latest
76
96
defaults :
Original file line number Diff line number Diff line change 34
34
with :
35
35
name : qjs
36
36
path : build/*-linux-aarch64
37
+ linux-riscv64 :
38
+ runs-on : ubuntu-20.04
39
+ steps :
40
+ - uses : actions/checkout@v4
41
+ - uses : jirutka/setup-alpine@v1
42
+ with :
43
+ arch : riscv64
44
+ packages : " build-base make cmake"
45
+ - name : build
46
+ shell : alpine.sh {0}
47
+ run : |
48
+ mkdir build
49
+ cd build
50
+ cmake -DBUILD_STATIC_QJS_EXE=ON ..
51
+ cd ..
52
+ cmake --build build --target qjs_exe -j$(getconf _NPROCESSORS_ONLN)
53
+ cmake --build build --target qjsc -j$(getconf _NPROCESSORS_ONLN)
54
+ mv build/qjs build/qjs-linux-riscv64
55
+ mv build/qjsc build/qjsc-linux-riscv64
56
+ - name : check
57
+ shell : alpine.sh {0}
58
+ run : |
59
+ file build/*-linux-riscv64
60
+ - name : upload
61
+ uses : actions/upload-artifact@v3
62
+ with :
63
+ name : qjs
64
+ path : build/*-linux-riscv64
37
65
linux-x86 :
38
66
runs-on : ubuntu-20.04
39
67
steps :
You can’t perform that action at this time.
0 commit comments