diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2021-01-01 18:43:02 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2021-01-01 20:18:10 +0100 |
commit | 788db43da4c8cd609189b7c2c5b4358cb303492c (patch) | |
tree | 0a4e966b5b75384a6755da338edd937c6e341856 | |
parent | 6a97ce7e39ff23a398dd5a53d76cfc9ea3d1efcb (diff) | |
download | libquotient-788db43da4c8cd609189b7c2c5b4358cb303492c.tar.gz libquotient-788db43da4c8cd609189b7c2c5b4358cb303492c.zip |
GTAD requires GCC 8 at least
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e4e9209..fa28127e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,8 +48,9 @@ jobs: - name: Setup build environment run: | if [ "${{ matrix.compiler }}" == "GCC" ]; then - echo "CC=gcc" >>$GITHUB_ENV - echo "CXX=g++" >>$GITHUB_ENV + if [ -n "${{ matrix.update-api }}" ]; then VERSION_POSTFIX='-8'; fi + echo "CC=gcc$VERSION_POSTFIX" >>$GITHUB_ENV + echo "CXX=g++$VERSION_POSTFIX" >>$GITHUB_ENV else echo "CC=clang" >>$GITHUB_ENV echo "CXX=clang++" >>$GITHUB_ENV |