File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : GCC Bootstrap Build
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+
7
+ jobs :
8
+ build :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - name : Install Deps
16
+ run : |
17
+ sudo apt-get update;
18
+ sudo apt-get install -y \
19
+ automake \
20
+ autoconf \
21
+ libtool \
22
+ autogen \
23
+ bison \
24
+ flex \
25
+ libgmp3-dev \
26
+ libmpfr-dev \
27
+ libmpc-dev \
28
+ build-essential \
29
+ gcc-multilib \
30
+ g++-multilib \
31
+ dejagnu
32
+
33
+ - name : Configure
34
+ run : |
35
+ mkdir -p gccrs-build;
36
+ cd gccrs-build;
37
+ ../configure \
38
+ --enable-languages=rust \
39
+ --enable-multilib
40
+
41
+ - name : Build
42
+ run : |
43
+ cd gccrs-build; \
44
+ make -j $(nproc)
45
+
46
+ - name : Run Tests
47
+ run : |
48
+ cd gccrs-build; \
49
+ make check-rust
50
+ - name : Check regressions
51
+ run : |
52
+ cd gccrs-build; \
53
+ if grep "# of unexpected" gcc/testsuite/rust/rust.sum;\
54
+ then \
55
+ echo "some tests are not correct"; \
56
+ exit 1; \
57
+ else \
58
+ exit 0; \
59
+ fi
You can’t perform that action at this time.
0 commit comments