ci: use g++ not g++-11 in misc-tooling (g++-11 can not be found and installed on the CI runner anymore for some reason)

This commit is contained in:
Delyan Angelov 2024-05-16 23:09:47 +03:00
parent f8222633fb
commit 96ecb3f8d9
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -101,17 +101,17 @@ jobs:
./v retry -- sudo apt update ./v retry -- sudo apt update
./v retry -- sudo apt install --quiet -y libsodium-dev libssl-dev sqlite3 libsqlite3-dev postgresql libpq-dev valgrind ./v retry -- sudo apt install --quiet -y libsodium-dev libssl-dev sqlite3 libsqlite3-dev postgresql libpq-dev valgrind
./v retry -- sudo apt install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev xfonts-75dpi xfonts-base ./v retry -- sudo apt install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev xfonts-75dpi xfonts-base
./v retry -- sudo apt install --quiet -y g++-9 g++-11 ./v retry -- sudo apt install --quiet -y g++-9 g++
- name: g++-9 version - name: g++-9 version
run: g++-9 --version run: g++-9 --version
- name: V self compilation with g++ and -std=c++11 - name: V self compilation with g++ and -std=c++11
run: ./v -cc g++-9 -no-std -cflags -std=c++11 -o v2 cmd/v && ./v2 -cc g++-9 -no-std -cflags -std=c++11 -o v3 cmd/v run: ./v -cc g++-9 -no-std -cflags -std=c++11 -o v2 cmd/v && ./v2 -cc g++-9 -no-std -cflags -std=c++11 -o v3 cmd/v
- name: g++-11 version - name: g++ version
run: g++-11 --version run: g++ --version
- name: V self compilation with g++ and -std=c++20 - name: V self compilation with g++ and -std=c++20
run: ./v -cc g++-11 -no-std -cflags -std=c++20 -o v2 cmd/v && ./v2 -cc g++-11 -no-std -cflags -std=c++20 -o v3 cmd/v run: ./v -cc g++ -no-std -cflags -std=c++20 -o v2 cmd/v && ./v2 -cc g++ -no-std -cflags -std=c++20 -o v3 cmd/v
# NB: this does not mean it runs, but at least keeps it from regressing # NB: this does not mean it runs, but at least keeps it from regressing
- name: Ensure V can be compiled with -autofree - name: Ensure V can be compiled with -autofree