Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
Need flags for clang++ to use stdc++ lib.
  • Loading branch information
The9Cat authored Oct 15, 2024
1 parent 28fa507 commit ae7fa0a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-22.04]
cc: [gcc, clang]
cxx: [g++, clang++]
include:
- cxx: clang++
cxxflags: -stdlib=libstdc++
exclude:
- cc: gcc
cxx: g++
- cc: clang
cxx: clang++
- cc: clang
cxx: g++

name: "Test pyEXP Build"
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -51,6 +56,7 @@ jobs:
-DCMAKE_BUILD_TYPE=Release
-DEigen3_DIR=/usr/include/eigen3/share/eigen3/cmake
-DCMAKE_INSTALL_PREFIX=./install
-DCMAKE_CXX_FLAGS=${{ matrix.cxxflags }}
-Wno-dev
..
Expand Down

0 comments on commit ae7fa0a

Please sign in to comment.