- - name: Generate build tree (${{ env.CMAKE_BUILD_TYPE }})
- run: cmake --config ${{ env.CMAKE_BUILD_TYPE }} -S . -B build
- - name: Build all with ${{ env.CC_VND }}
- run: cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }}
- - name: Install
- run: cmake --install build --prefix installed --config ${{ env.CMAKE_BUILD_TYPE }}
- - name: Package
- env:
- PUSH_ARTIFACTS_ID: ${{ secrets.PUSH_ARTIFACTS_ID }}
- run: |
- cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} --target package
- cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} --target push-artifacts