File tree Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ on: [push]
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-latest
8
+ runs-on : ubuntu-18.04
9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
Original file line number Diff line number Diff line change @@ -5,17 +5,16 @@ on: [push]
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-latest
9
- container : ubuntu:20.04
8
+ runs-on : ubuntu-20.04
10
9
11
10
steps :
12
11
- uses : actions/checkout@v1
13
12
- name : Build
14
13
run : |
15
14
# Prevent blocking apt install on a question during configuring of tzdata.
16
15
export ENV DEBIAN_FRONTEND=noninteractive
17
- apt update
18
- apt install mm-common clang-9 make --yes
16
+ sudo apt update
17
+ sudo apt install mm-common clang-9 make --yes
19
18
export CC=clang-9 CXX=clang++-9
20
19
./autogen.sh --enable-warnings=fatal
21
20
make
Original file line number Diff line number Diff line change @@ -5,17 +5,16 @@ on: [push]
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-latest
9
- container : ubuntu:20.04
8
+ runs-on : ubuntu-20.04
10
9
11
10
steps :
12
11
- uses : actions/checkout@v1
13
12
- name : Build
14
13
run : |
15
14
# Prevent blocking apt install on a question during configuring of tzdata.
16
15
export ENV DEBIAN_FRONTEND=noninteractive
17
- apt update
18
- apt install mm-common clang-10 meson ninja-build python3-setuptools --yes
16
+ sudo apt update
17
+ sudo apt install mm-common clang-10 meson ninja-build python3-setuptools --yes
19
18
export CXX=clang++-10
20
19
meson -Dwarnings=fatal _build
21
20
cd _build
28
27
meson test
29
28
- name : Dist
30
29
run : |
31
- apt install git --yes
30
+ sudo apt install git --yes
32
31
# dist runs setup again so we need to specify CXX again.
33
32
export CXX=clang++-10
34
33
cd _build
Original file line number Diff line number Diff line change @@ -5,17 +5,16 @@ on: [push]
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-latest
9
- container : ubuntu:20.04
8
+ runs-on : ubuntu-20.04
10
9
11
10
steps :
12
11
- uses : actions/checkout@v1
13
12
- name : Build
14
13
run : |
15
14
# Prevent blocking apt install on a question during configuring of tzdata.
16
15
export ENV DEBIAN_FRONTEND=noninteractive
17
- apt update
18
- apt install mm-common g++-9 meson ninja-build python3-setuptools --yes
16
+ sudo apt update
17
+ sudo apt install mm-common g++-9 meson ninja-build python3-setuptools --yes
19
18
export CXX=g++-9
20
19
meson -Dwarnings=fatal _build
21
20
cd _build
28
27
meson test
29
28
- name : Dist
30
29
run : |
31
- apt install git --yes
30
+ sudo apt install git --yes
32
31
# dist runs setup again so we need to specify CXX again.
33
32
export CXX=g++-9
34
33
cd _build
You can’t perform that action at this time.
0 commit comments