27
27
compiler : ' gcc'
28
28
configure_options : ' --enable-static-executables=yes --enable-multi-threading-support=no'
29
29
steps :
30
- - uses : actions/checkout@v3
30
+ - uses : actions/checkout@v4
31
31
- name : Install build dependencies
32
32
run : |
33
33
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config
42
42
- name : Run tests
43
43
run : |
44
44
tests/runtests.sh
45
+ build_dist :
46
+ runs-on : ubuntu-22.04
47
+ strategy :
48
+ matrix :
49
+ include :
50
+ - architecture : ' x64'
51
+ compiler : ' gcc'
52
+ configure_options : ' '
53
+ steps :
54
+ - uses : actions/checkout@v4
55
+ - name : Install build dependencies
56
+ run : |
57
+ sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config
58
+ - name : Download test data
59
+ run : |
60
+ if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
61
+ - name : Building from source
62
+ env :
63
+ CC : ${{ matrix.compiler }}
64
+ run : |
65
+ tests/build.sh ${{ matrix.configure_options }}
66
+ - name : Run tests
67
+ run : |
68
+ make distcheck
45
69
build_python_ubuntu :
46
70
runs-on : ubuntu-22.04
47
71
strategy :
52
76
configure_options : ' --enable-python'
53
77
python_version : ' '
54
78
steps :
55
- - uses : actions/checkout@v3
79
+ - uses : actions/checkout@v4
56
80
- name : Install build dependencies
57
81
run : |
58
82
sudo add-apt-repository universe &&
81
105
configure_options : ' '
82
106
python-version : ' 3.10'
83
107
steps :
84
- - uses : actions/checkout@v3
108
+ - uses : actions/checkout@v4
85
109
- name : Set up Python ${{ matrix.python-version }}
86
110
uses : actions/setup-python@v1
87
111
with :
@@ -111,7 +135,7 @@ jobs:
111
135
compiler : ' gcc'
112
136
configure_options : ' --enable-wide-character-type'
113
137
steps :
114
- - uses : actions/checkout@v3
138
+ - uses : actions/checkout@v4
115
139
- name : Install build dependencies
116
140
run : |
117
141
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config
@@ -132,6 +156,7 @@ jobs:
132
156
(cd ${DIRECTORY} && find . -maxdepth 1 -name \*.gcno -type f -exec gcov -pb {} \;) \
133
157
done
134
158
- name : Upload coverage report to Codecov
135
- uses : codecov/codecov-action@v3
159
+ uses : codecov/codecov-action@v4
136
160
with :
137
161
name : linux-${{ matrix.architecture }}-gcc-no-optimization
162
+ token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments