Skip to content

Commit

Permalink
Double-check that default gcc version is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdewar committed Jul 12, 2023
1 parent 835c55e commit 39fcac0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
VCPKG_ROOT: "vcpkg"
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
LINUX_RUNNER: ubuntu-22.04
DEFAULT_UBUNTU_GCC_VERSION: 11 # update this if you change LINUX_RUNNER
WINDOWS_RUNNER: windows-2022

jobs:
Expand Down Expand Up @@ -56,6 +57,10 @@ jobs:
sudo apt upgrade -y
sudo apt install --no-install-recommends build-essential libtbb-dev ninja-build doxygen graphviz
# Double check that the default version is what we think it is
GCC_MAJOR_VER=`gcc -dumpversion|sed -E 's/^([0-9]+)\./.*$\1/'`
test $GCC_MAJOR_VER -eq $DEFAULT_UBUNTU_GCC_VERSION
- name: Install clang (Linux)
if: matrix.platform == 'linux' && matrix.compiler == 'clang'
run: |
Expand Down

0 comments on commit 39fcac0

Please sign in to comment.