Skip to content

Commit

Permalink
add test for gcc-12
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc authored Nov 26, 2023
1 parent 096f096 commit 6247c12
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,32 @@ jobs:
run: |
CC=gcc-4.8 CXX=g++-4.8 cmake . -DTEST:STRING="defaults-enabled"
cmake --build .
gcc-12:
runs-on: ubuntu-22.04
env:
CC: /usr/bin/gcc-12
CXX: /usr/bin/g++-12
steps:
- run: |
apt-get update
apt-get install -y g++-12 wget make libssl-dev
- uses: actions/checkout@v3
- uses: ./.github/actions/install/cmake
with:
version: "3.26.3"
url: "https://cmake.org/files/v3.26/cmake-3.26.3.tar.gz"
- uses: ./.github/actions/install/gtest

- name: setup
run: |
mkdir build
cd build
cmake ..
cmake --install .
- name: test
working-directory: tests/cmake
run: |
CC=gcc-12 CXX=g++-12 cmake . -DTEST:STRING="defaults-enabled"
cmake --build .

0 comments on commit 6247c12

Please sign in to comment.