File tree Expand file tree Collapse file tree 7 files changed +28
-32
lines changed Expand file tree Collapse file tree 7 files changed +28
-32
lines changed Original file line number Diff line number Diff line change 1
- name : " CI: autotools: clang 10 "
1
+ name : " Autotools: clang"
2
2
3
3
on : [push]
4
4
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-20.04
8
+ runs-on : ubuntu-latest
9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
@@ -14,14 +14,14 @@ jobs:
14
14
# Prevent blocking apt install on a question during configuring of tzdata.
15
15
export ENV DEBIAN_FRONTEND=noninteractive
16
16
sudo apt update
17
- sudo apt install mm-common clang-10 make docbook-xsl --yes
18
- export CC=clang-10 CXX=clang++-10
17
+ sudo apt install mm-common clang make docbook-xsl --yes
18
+ export CC=clang CXX=clang++
19
19
./autogen.sh --enable-warnings=fatal
20
20
make
21
21
- name : Test
22
22
run : make check
23
23
- name : Distcheck
24
24
run : |
25
25
# distcheck runs configure again so we need to specify CC and CXX again.
26
- export CC=clang-10 CXX=clang++-10
26
+ export CC=clang CXX=clang++
27
27
make distcheck
Original file line number Diff line number Diff line change 1
- name : " CI: autotools: gcc 10 "
1
+ name : " Autotools: gcc"
2
2
3
3
on : [push]
4
4
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-20.04
8
+ runs-on : ubuntu-latest
9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
12
12
- name : Build
13
13
run : |
14
+ # Prevent blocking apt install on a question during configuring of tzdata.
15
+ export ENV DEBIAN_FRONTEND=noninteractive
14
16
sudo apt update
15
- sudo apt install mm-common g++-10 docbook-xsl
16
- export CXX=g++-10
17
+ sudo apt install mm-common g++ make docbook-xsl --yes
18
+ export CXX=g++
17
19
./autogen.sh --enable-warnings=fatal
18
20
make
19
21
- name : Test
20
22
run : make check
21
23
- name : Distcheck
22
24
run : |
23
25
# distcheck runs configure again so we need to specify CXX again.
24
- export CXX=g++-10
26
+ export CXX=g++
25
27
make distcheck
Original file line number Diff line number Diff line change 1
- name : " CI: Check Code Formatting"
1
+ name : " Check Code Formatting"
2
2
3
3
# Triggered manually
4
4
on : [workflow_dispatch]
15
15
# Prevent blocking the install on a question during configuring of tzdata.
16
16
export ENV DEBIAN_FRONTEND=noninteractive
17
17
sudo apt update
18
- sudo apt install clang-format-12 --yes
19
- clang-format-12 --dry-run --Werror `find . -name "*.h" -or -name "*.cc"`
18
+ sudo apt install clang-format --yes
19
+ clang-format --dry-run --Werror `find . -name "*.h" -or -name "*.cc"`
Original file line number Diff line number Diff line change 1
- name : " CI: cmake "
1
+ name : " CMake: gcc "
2
2
3
3
on : [push]
4
4
Original file line number Diff line number Diff line change 1
- name : " meson: gcc 10 "
1
+ name : " Meson: clang "
2
2
3
3
on : [push]
4
4
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-20.04
8
+ runs-on : ubuntu-latest
9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
14
14
# Prevent blocking apt install on a question during configuring of tzdata.
15
15
export ENV DEBIAN_FRONTEND=noninteractive
16
16
sudo apt update
17
- sudo apt install libxml2-utils docbook5-xml docbook-xsl mm-common g++-10 ninja-build python3-setuptools python3-pip --yes
18
- # Ubuntu 20.04 contains meson 0.53.2, but libsigc++ requires meson >= 0.55.0.
19
- # Install it with pip3 instead of apt.
20
- sudo pip3 install "meson>=0.55.0"
21
- export CXX=g++-10
17
+ sudo apt install libxml2-utils docbook5-xml docbook-xsl mm-common clang meson ninja-build python3-setuptools --yes
18
+ export CXX=clang++
22
19
meson setup -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true _build
23
20
cd _build
24
21
meson compile
30
27
run : |
31
28
sudo apt install git --yes
32
29
# dist runs setup again so we need to specify CXX again.
33
- export CXX=g++-10
30
+ export CXX=clang++
34
31
cd _build
35
32
meson dist
Original file line number Diff line number Diff line change 1
- name : " meson: clang 10 "
1
+ name : " Meson: gcc "
2
2
3
3
on : [push]
4
4
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-20.04
8
+ runs-on : ubuntu-latest
9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
14
14
# Prevent blocking apt install on a question during configuring of tzdata.
15
15
export ENV DEBIAN_FRONTEND=noninteractive
16
16
sudo apt update
17
- sudo apt install libxml2-utils docbook5-xml docbook-xsl mm-common clang-10 ninja-build python3-setuptools python3-pip --yes
18
- # Ubuntu 20.04 contains meson 0.53.2, but libsigc++ requires meson >= 0.55.0.
19
- # Install it with pip3 instead of apt.
20
- sudo pip3 install "meson>=0.55.0"
21
- export CXX=clang++-10
17
+ sudo apt install libxml2-utils docbook5-xml docbook-xsl mm-common g++ meson ninja-build python3-setuptools --yes
18
+ export CXX=g++
22
19
meson setup -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true _build
23
20
cd _build
24
21
meson compile
30
27
run : |
31
28
sudo apt install git --yes
32
29
# dist runs setup again so we need to specify CXX again.
33
- export CXX=clang++-10
30
+ export CXX=g++
34
31
cd _build
35
32
meson dist
Original file line number Diff line number Diff line change 3
3
# Copied from https://github.com/libsigcplusplus/libsigcplusplus/actions/new
4
4
# and changed. Actions -> New workflow -> Pages -> GitHub Pages Jekyll
5
5
6
- name : Deploy Jekyll with GitHub Pages dependencies preinstalled
6
+ name : Publish docs
7
7
8
- # 2022-12-17 : ubuntu-latest = ubuntu-22.04
8
+ # 2023-07-28 : ubuntu-latest = ubuntu-22.04
9
9
on :
10
10
# Runs on pushes targeting the default branch
11
11
push :
You can’t perform that action at this time.
0 commit comments