Skip to content

Commit b1872ac

Browse files
committed
github ci script
1 parent 4410964 commit b1872ac

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

script/testga.ijs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ os=: (('Linux';'Darwin') i. <UNAME) pick ;:'linux darwin win'
66
testres=: 'test',os,'.txt'
77

88
0!:0 <testpath,'tsu.ijs'
9-
echo 'cpu ',(9!:56'cpu'),' cores ',":9!:56'cores'
109
GITHUBCI=: 1 NB. testing on github
1110
ECHOFILENAME=: 1 NB. echo file name
1211

@@ -31,4 +30,4 @@ if. (os -: 'win') *. 1 e. 'avx/' E. 9!:14'' do.
3130
end.
3231
)
3332

34-
exit ''
33+
exit *@#RES

script/testga.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
# current macOS github builder only supports avx
88
# cpu is Xeon E5-1650 v2 (from 2013)
99

10+
set -e
11+
1012
if [ $1 == "linux" ]; then
1113
ext="so"
1214
elif [ "$1" == "darwin" ]; then

test/tsu.ijs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,4 +426,4 @@ see: tsu_notes, tsu_usage, tsu_pacman, and tsu_jd
426426
)
427427

428428
echo 9!:14''
429-
429+
echo 'cpu ',(9!:56'cpu'),' cores ',":9!:56'cores'

0 commit comments

Comments
 (0)