Commit 7393eb3 1 parent e503ccc commit 7393eb3 Copy full SHA for 7393eb3
File tree 5 files changed +35
-2
lines changed
5 files changed +35
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : C/C++ CI
2
+
3
+ on :
4
+ push :
5
+ # branches: [ $default-branch ]
6
+ pull_request :
7
+ branches : [ $default-branch ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - name : install libgmp-dev
16
+ run : |
17
+ apt-get update
18
+ apt get install libgmp-dev
19
+ - uses : actions/checkout@v4
20
+ - name : make
21
+ run : make
22
+ - name : make test
23
+ run : make test
Original file line number Diff line number Diff line change 11
11
12
12
include makefile.common
13
13
14
+ .PHONY : test
15
+ test :
16
+ ./test.sh
17
+
14
18
win : force
15
19
./build.cmd clean
16
20
./build.cmd
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
+
3
+ rm -f err.log
4
+ trap " rm -rf err.log" EXIT
2
5
for i in bins/* .bin; do
3
- ./me7sum -r $i .txt $i | grep -E ' (ABORT|WARNING)'
4
- grep ERROR $i .txt
6
+ ./me7sum -r $i .txt $i | grep -E ' (ABORT|WARNING)' >> err.log
7
+ grep ERROR $i .txt >> err.log
5
8
done
9
+
10
+ cat err.log
11
+ [ ! -s err.log ]
You can’t perform that action at this time.
0 commit comments