Skip to content

Commit

Permalink
Disable warning in CI build with uncommon configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Feb 26, 2024
1 parent 21d1b15 commit af1e9db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/linux-nondefault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,13 @@ jobs:
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-Wno-array-bounds"
configureflags: --enable-unity-build
- name: "Standard Library classes enabled/disabled"
shortname: stdclasses
tag: rolling
cc: gcc
cxx: g++
cxxflags: "-std=c++17 -Wno-array-bounds"
cxxflags: "-std=c++17"
configureflags: --disable-std-function --disable-std-tuple --enable-std-pointers --enable-std-any --enable-std-optional
- name: "OpenMP enabled"
shortname: openmp
Expand All @@ -162,7 +161,7 @@ jobs:
- name: Build
run: |
./autogen.sh
./configure --disable-static --enable-error-lines --enable-error-functions --enable-tracing --enable-indexed-coupons --enable-extra-safety-checks --enable-sessions --enable-thread-safe-observer-pattern --enable-intraday --disable-faster-lazy-objects --enable-throwing-in-cycles --enable-null-as-functions ${{ matrix.configureflags }} CC="${{ matrix.cc }}" CXX="${{ matrix.cxx }}" CXXFLAGS="-O2 -g0 -Wall -Wno-unknown-pragmas -Werror ${{ matrix.cxxflags }}"
./configure --disable-static --enable-error-lines --enable-error-functions --enable-tracing --enable-indexed-coupons --enable-extra-safety-checks --enable-sessions --enable-thread-safe-observer-pattern --enable-intraday --disable-faster-lazy-objects --enable-throwing-in-cycles --enable-null-as-functions ${{ matrix.configureflags }} CC="${{ matrix.cc }}" CXX="${{ matrix.cxx }}" CXXFLAGS="-O2 -g0 -Wall -Wno-unknown-pragmas -Wno-array-bounds -Werror ${{ matrix.cxxflags }}"
make -j 4
- name: Run tests
run: |
Expand Down

0 comments on commit af1e9db

Please sign in to comment.