Skip to content

Commit

Permalink
Upgrade gcc-10 to gcc-11 in Appveyor CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quuxplusone committed Jul 8, 2022
1 parent 5e9754f commit e2aa3eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ install:
- sh: >-
if test "${APPVEYOR_BUILD_WORKER_IMAGE}" = "Ubuntu"; then
sudo apt-get update -y
sudo apt-get install -y gcc-10
sudo apt-get install -y gcc-11
fi
build_script:
- cc --version
- if test "${APPVEYOR_BUILD_WORKER_IMAGE}" = "Ubuntu"; then gcc-10 --version; fi
- if test "${APPVEYOR_BUILD_WORKER_IMAGE}" = "Ubuntu"; then gcc-11 --version; fi

test_script:
- make -C tests EXTRA_CFLAGS="-Wextra -Wswitch-default -Wno-type-limits"
- if test "${APPVEYOR_BUILD_WORKER_IMAGE}" = "Ubuntu"; then make -C tests clean ; make -C tests CC=gcc-10 EXTRA_CFLAGS="--analyzer"; fi
- if test "${APPVEYOR_BUILD_WORKER_IMAGE}" = "Ubuntu"; then make -C tests clean ; make -C tests CC=gcc-11 EXTRA_CFLAGS="--analyzer"; fi
- make -C tests clean ; make -C tests pedantic
- make -C tests clean ; make -C tests pedantic EXTRA_CFLAGS=-DNO_DECLTYPE
- make -C tests clean ; make -C tests cplusplus
Expand Down

0 comments on commit e2aa3eb

Please sign in to comment.