Skip to content

Commit 70bf0b9

Browse files
committed
GitHub actions: Use ubuntu-20.04 directly
GitHub Actions now supports ubuntu-20.04 directly, not only via a separate container: https://github.com/actions/virtual-environments And use ubuntu-18.04 instead of ubuntu-latest, because that's what it currently is, but ubuntu-latest will change to mean ubuntu-20.04 soon: actions/runner-images#1816
1 parent 5a87d98 commit 70bf0b9

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

.github/workflows/autotools-clang-8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push]
55
jobs:
66
build:
77

8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-18.04
99

1010
steps:
1111
- uses: actions/checkout@v1

.github/workflows/autotools-clang-9.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ on: [push]
55
jobs:
66
build:
77

8-
runs-on: ubuntu-latest
9-
container: ubuntu:20.04
8+
runs-on: ubuntu-20.04
109

1110
steps:
1211
- uses: actions/checkout@v1
1312
- name: Build
1413
run: |
1514
# Prevent blocking apt install on a question during configuring of tzdata.
1615
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
1918
export CC=clang-9 CXX=clang++-9
2019
./autogen.sh --enable-warnings=fatal
2120
make

.github/workflows/meson-clang-10.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ on: [push]
55
jobs:
66
build:
77

8-
runs-on: ubuntu-latest
9-
container: ubuntu:20.04
8+
runs-on: ubuntu-20.04
109

1110
steps:
1211
- uses: actions/checkout@v1
1312
- name: Build
1413
run: |
1514
# Prevent blocking apt install on a question during configuring of tzdata.
1615
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
1918
export CXX=clang++-10
2019
meson -Dwarnings=fatal _build
2120
cd _build
@@ -28,7 +27,7 @@ jobs:
2827
meson test
2928
- name: Dist
3029
run: |
31-
apt install git --yes
30+
sudo apt install git --yes
3231
# dist runs setup again so we need to specify CXX again.
3332
export CXX=clang++-10
3433
cd _build

.github/workflows/meson-gcc-9.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ on: [push]
55
jobs:
66
build:
77

8-
runs-on: ubuntu-latest
9-
container: ubuntu:20.04
8+
runs-on: ubuntu-20.04
109

1110
steps:
1211
- uses: actions/checkout@v1
1312
- name: Build
1413
run: |
1514
# Prevent blocking apt install on a question during configuring of tzdata.
1615
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
1918
export CXX=g++-9
2019
meson -Dwarnings=fatal _build
2120
cd _build
@@ -28,7 +27,7 @@ jobs:
2827
meson test
2928
- name: Dist
3029
run: |
31-
apt install git --yes
30+
sudo apt install git --yes
3231
# dist runs setup again so we need to specify CXX again.
3332
export CXX=g++-9
3433
cd _build

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy