Adjust Travis build

This commit is contained in:
Serge Lamikhov-Center 2022-02-08 18:05:08 +02:00
parent 792d1898bb
commit c0c993490f
2 changed files with 5 additions and 14 deletions

View File

@ -28,7 +28,7 @@ jobs:
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DELFIO_BUILD_EXAMPLES=YES -DELFIO_BUILD_TESTS=YES
- name: Build
run: cmake --build build --config ${{ matrix.build_type }}
- name: test
- name: Test
run: |
cd build
ctest -VV

View File

@ -22,17 +22,8 @@ install:
- sudo apt-get install libboost-test-dev
script:
- autoreconf -f -i
- ./configure CXXFLAGS=--std=c++11
- make
- cd tests
- autoreconf -f -i
- ./configure CXXFLAGS=--std=c++11
- make check
- cd ..
- mkdir build
- cmake -B build -DCMAKE_BUILD_TYPE=Release -DELFIO_BUILD_EXAMPLES=YES -DELFIO_BUILD_TESTS=YES
- cmake --build build --config Release
- cd build
- cmake ..
- cmake --build .
- ctest -VV
- cd ..