aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2020-09-11 01:17:42 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2020-09-11 01:23:15 +0200
commit0095402534bcb36c930f79e2ac9123dd8674a40f (patch)
tree6971e84b3029ba5649f3d0a5aca11d97f6610b70
parentff8898476685e6b7dff03231275a6a8bc2cbaf17 (diff)
downloadblogc-0095402534bcb36c930f79e2ac9123dd8674a40f.tar.gz
blogc-0095402534bcb36c930f79e2ac9123dd8674a40f.tar.bz2
blogc-0095402534bcb36c930f79e2ac9123dd8674a40f.zip
build: github-actions: update apt database and use ubuntu-20.04
-rw-r--r--.github/workflows/yatr.yaml15
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/yatr.yaml b/.github/workflows/yatr.yaml
index 7abf875..54d5f8d 100644
--- a/.github/workflows/yatr.yaml
+++ b/.github/workflows/yatr.yaml
@@ -17,29 +17,29 @@ jobs:
- gcc
- clang
image:
- - ubuntu-18.04
+ - ubuntu-20.04
include:
- target: distcheck
compiler: clang
image: macos-10.15
- target: clang-analyzer
compiler: clang
- image: ubuntu-18.04
+ image: ubuntu-20.04
- target: dist-srpm
compiler: gcc
- image: ubuntu-18.04
+ image: ubuntu-20.04
- target: static
compiler: gcc
- image: ubuntu-18.04
+ image: ubuntu-20.04
- target: static-all
compiler: gcc
- image: ubuntu-18.04
+ image: ubuntu-20.04
- target: win32
compiler: gcc
- image: ubuntu-18.04
+ image: ubuntu-20.04
- target: win64
compiler: gcc
- image: ubuntu-18.04
+ image: ubuntu-20.04
steps:
- name: Check out code
@@ -50,6 +50,7 @@ jobs:
if [[ "x${{ matrix.image }}" = xubuntu-* ]]; then
sudo gem update --system 3.0.6 # hack for https://github.com/rubygems/rubygems/issues/3068
sudo gem install ronn
+ sudo apt-get update -y
if [[ "x${{ matrix.target }}" = *check* ]] || [[ "x${{ matrix.target }}" = xvalgrind ]]; then
sudo apt-get install -y libcmocka-dev
fi