Skip to content

Commit 3580f15

Browse files
committed
github actions: try C++26/gcc-16 tests
1 parent fcbfb11 commit 3580f15

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,15 @@ jobs:
111111
install_compiler: true
112112
compiler_package: g++-10
113113

114+
- name: "gcc-16, C++26"
115+
os: ubuntu-24.04
116+
cc: gcc-16
117+
cxx: g++-16
118+
cxx_standard: "-DSQLITE_ORM_ENABLE_CXX_26=ON"
119+
install_compiler: true
120+
compiler_package: g++-16
121+
compiler_ppa: ppa:ubuntu-toolchain-r/test
122+
114123
name: Linux - ${{ matrix.name }}
115124

116125
env:
@@ -124,11 +133,14 @@ jobs:
124133
- name: Install compiler
125134
if: matrix.install_compiler
126135
run: |
136+
if [ -n "${{ matrix.compiler_ppa }}" ]; then
137+
sudo add-apt-repository -y ${{ matrix.compiler_ppa }}
138+
fi
127139
sudo apt-get update
128140
sudo apt-get install -y ${{ matrix.compiler_package }}
129141
130142
- name: Setup vcpkg
131-
uses: lukka/run-vcpkg@v11
143+
uses: lukka/run-vcpkg@v11.6
132144
with:
133145
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT }}
134146
vcpkgDirectory: ${{ runner.temp }}/vcpkg

0 commit comments

Comments
 (0)