run: make -C build -j2 test
- name: Install
run: make -C build -j2 install DESTDIR=/tmp
+ - name: Package
+ if: ${{ env.CMAKE_BUILD_TYPE == 'Release' && env.CC_VER == 'cur' }}
+ run: make -C build package
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
run: make -C build -j2 test
- name: Install
run: make -C build -j2 install DESTDIR=/tmp
+ - name: Package
+ if: ${{ env.CMAKE_BUILD_TYPE == 'Release' && env.CC_VER == 'cur' }}
+ run: make -C build package
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
run: make -C build -j2 test
- name: Install
run: make -C build -j2 install DESTDIR=/tmp
+ - name: Package
+ if: ${{ env.CMAKE_BUILD_TYPE == 'Release' && env.CC_VER == 'cur' }}
+ run: make -C build package
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
run: make -C build -j2 test
- name: Install
run: make -C build -j2 install DESTDIR=/tmp
+ - name: Package
+ if: ${{ env.CMAKE_BUILD_TYPE == 'Release' && env.CC_VER == 'cur' }}
+ run: make -C build package
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
run: cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }}
- name: Install
run: cmake --install build --prefix installed --config ${{ env.CMAKE_BUILD_TYPE }}
+ - name: Package
+ run: cmake -E chdir build cpack
# release builds
release:
run: make -C build -j2 test
- name: Install
run: make -C build -j2 install DESTDIR=/tmp
+ - name: Package
+ if: ${{ env.CMAKE_BUILD_TYPE == 'Release' && env.CC_VER == 'cur' }}
+ run: make -C build package
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true