File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: build
22on : [push, pull_request]
33jobs :
44 build :
5- runs-on : ubuntu-latest
5+ runs-on : ubuntu-24.04
66 steps :
77 - uses : actions/checkout@v4
88 - uses : ankane/setup-postgres@v1
@@ -21,18 +21,21 @@ jobs:
2121 CXXFLAGS=-std=c++17 ./configure
2222 make
2323 sudo make install
24+
2425 - run : g++ -std=c++17 -Wall -Wextra -Werror -o test/pqxx test/pqxx_test.cpp -lpqxx -lpq
2526 - run : test/pqxx
2627
27- - if : ${{ startsWith(matrix.os, 'ubuntu') }}
28- run : |
28+ - run : g++ -std=c++20 -Wall -Wextra -Werror -o test/pqxx test/pqxx_test.cpp -lpqxx -lpq
29+ - run : test/pqxx
30+
31+ - run : g++ -std=c++23 -Wall -Wextra -Werror -o test/pqxx test/pqxx_test.cpp -lpqxx -lpq
32+ - run : test/pqxx
33+
34+ - run : |
2935 sudo apt-get update
3036 sudo apt-get install valgrind
3137 valgrind --leak-check=yes test/pqxx
3238
33- - if : ${{ startsWith(matrix.os, 'macos') }}
34- run : /opt/homebrew/opt/llvm@18/bin/scan-build --status-bugs g++ -std=c++17 -o test/pqxx test/pqxx_test.cpp -lpqxx -lpq
35-
3639 # test install
3740 - run : cmake -S . -B build
3841 - run : cmake --build build
You can’t perform that action at this time.
0 commit comments