From 66a4ebdfecac47c1e393d2c61e6cd84eb59be35b Mon Sep 17 00:00:00 2001 From: Robin Davies Date: Mon, 11 Nov 2024 22:02:29 -0500 Subject: [PATCH] Pull CMake action .deb artificat. Signed-off-by: Robin Davies --- .github/workflows/cmake.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 013411f..d7291ec 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -43,16 +43,26 @@ jobs: # 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}} env: - CC: gcc-12 - CXX: g++-12 + CC: gcc-13 + CXX: g++-13 - name: Build # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} env: - CC: gcc-12 - CXX: g++-12 + CC: gcc-13 + CXX: g++-13 #- name: Test # working-directory: ${{github.workspace}}/build # # Execute CMake BuiltTest test # 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 +