mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-26 18:15:40 +00:00
Adjust Travis build
This commit is contained in:
parent
792d1898bb
commit
c0c993490f
2
.github/workflows/c-cpp.yml
vendored
2
.github/workflows/c-cpp.yml
vendored
@ -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
|
||||
|
17
.travis.yml
17
.travis.yml
@ -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 ..
|
||||
|
Loading…
Reference in New Issue
Block a user