summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2021-08-11 16:19:54 +0300
committerGitHub <noreply@github.com>2021-08-11 16:19:54 +0300
commit08c46f2b867ffc1f7f75c46a60287520236541e7 (patch)
tree55b617c09c02b4ada4d9dfc26b3adc94b78ce3dd /.github
parent5705cec68e2b93ace879cc1c8d05aca19bcfd188 (diff)
downloadredis-08c46f2b867ffc1f7f75c46a60287520236541e7.tar.gz
Add debian:oldoldstable build target for CI. (#9358)
Making sure Redis builds properly on older compiler is important given the wide range of systems it is built for. So far Ubuntu 16.04 has been used for this purpose, but as it's getting phased out we'll move to `oldoldstable` Debian as an "old system" precursor.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a94be96f3..d5e3a97c6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,12 +19,15 @@ jobs:
- name: module api test
run: ./runtest-moduleapi --verbose
- build-ubuntu-old:
- runs-on: ubuntu-16.04
+ build-debian-old:
+ runs-on: ubuntu-latest
+ container: debian:oldoldstable
steps:
- uses: actions/checkout@v2
- name: make
- run: make REDIS_CFLAGS='-Werror'
+ run: |
+ apt-get update && apt-get install -y build-essential
+ make REDIS_CFLAGS='-Werror'
build-macos-latest:
runs-on: macos-latest