mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
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:
parent
f8222633fb
commit
96ecb3f8d9
1 changed files with 4 additions and 4 deletions
8
.github/workflows/other_ci.yml
vendored
8
.github/workflows/other_ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue