Adding GCC 12

This commit is contained in:
Daniel Lemire 2022-12-23 10:37:04 -05:00
parent a4f8c86f08
commit 7040160143
2 changed files with 17 additions and 1 deletions

16
.github/workflows/ubuntu22-gcc12.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Ubuntu 22.04 CI (GCC 12)
on: [push, pull_request]
jobs:
ubuntu-build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Use cmake
run: |
mkdir build &&
cd build &&
CXX=g++-12 CXXFLAGS=-Werror cmake -DFASTFLOAT_TEST=ON .. &&
cmake --build . &&
ctest --output-on-failure

View File

@ -1,4 +1,4 @@
name: Ubuntu 22.04 CI name: Ubuntu 22.04 CI (GCC 11)
on: [push, pull_request] on: [push, pull_request]