Update ci.yml

This commit is contained in:
Gabi Melman 2024-03-16 15:46:37 +02:00 committed by GitHub
parent ae525b75c3
commit e0410f430e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,6 +40,12 @@ jobs:
fi
echo "CC=clang-${{ matrix.config.version }}" >> $GITHUB_ENV
echo "CXX=clang++-${{ matrix.config.version }}" >> $GITHUB_ENV
- name: Setup Git # update git to support sparse-checkout for gcc:7 images
if: contains(env.GITHUB_JOB_CONTAINER_IMAGE, 'gcc:7')
run: |
sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-get update
sudo apt-get install git -y
- name: Build
run: |
mkdir -p build && cd build