Pull CMake action .deb artificat.
Signed-off-by: Robin Davies <rerdavies@gmail.com>
This commit is contained in:
@@ -43,16 +43,26 @@ jobs:
|
|||||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
env:
|
env:
|
||||||
CC: gcc-12
|
CC: gcc-13
|
||||||
CXX: g++-12
|
CXX: g++-13
|
||||||
- name: Build
|
- name: Build
|
||||||
# Build your program with the given configuration
|
# Build your program with the given configuration
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
env:
|
env:
|
||||||
CC: gcc-12
|
CC: gcc-13
|
||||||
CXX: g++-12
|
CXX: g++-13
|
||||||
#- name: Test
|
#- name: Test
|
||||||
# working-directory: ${{github.workspace}}/build
|
# working-directory: ${{github.workspace}}/build
|
||||||
# # Execute CMake BuiltTest test
|
# # Execute CMake BuiltTest test
|
||||||
# run: ctest -C ${{env.BUILD_TYPE}} -R BuildTest
|
# run: ctest -C ${{env.BUILD_TYPE}} -R BuildTest
|
||||||
|
- name: Make Package
|
||||||
|
run: ./makePackage.sh
|
||||||
|
|
||||||
|
- name: Generate Artifacts
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: artifact
|
||||||
|
path: |
|
||||||
|
build/*.deb
|
||||||
|
retention-days: 5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user