summaryrefslogtreecommitdiffstats
path: root/.github/workflows/cmake-ctest.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cmake-ctest.yml')
-rw-r--r--.github/workflows/cmake-ctest.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/.github/workflows/cmake-ctest.yml b/.github/workflows/cmake-ctest.yml
index a9328fd..dd21ed4 100644
--- a/.github/workflows/cmake-ctest.yml
+++ b/.github/workflows/cmake-ctest.yml
@@ -152,6 +152,32 @@ jobs:
tar -zcvf ${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz hdf5
shell: bash
+ - name: Publish deb binary (Linux)
+ id: publish-ctest-deb-binary
+ run: |
+ mkdir "${{ runner.workspace }}/builddeb"
+ mkdir "${{ runner.workspace }}/builddeb/hdf5"
+ cp ${{ runner.workspace }}/hdf5/hdfsrc/COPYING ${{ runner.workspace }}/builddeb/hdf5
+ cp ${{ runner.workspace }}/hdf5/hdfsrc/COPYING_LBNL_HDF5 ${{ runner.workspace }}/builddeb/hdf5
+ cp ${{ runner.workspace }}/hdf5/hdfsrc/README.md ${{ runner.workspace }}/builddeb/hdf5
+ cp ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-GNUC/*.deb ${{ runner.workspace }}/builddeb/hdf5
+ cd "${{ runner.workspace }}/builddeb"
+ tar -zcvf ${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.deb hdf5
+ shell: bash
+
+ - name: Publish rpm binary (Linux)
+ id: publish-ctest-rpm-binary
+ run: |
+ mkdir "${{ runner.workspace }}/buildrpm"
+ mkdir "${{ runner.workspace }}/buildrpm/hdf5"
+ cp ${{ runner.workspace }}/hdf5/hdfsrc/COPYING ${{ runner.workspace }}/buildrpm/hdf5
+ cp ${{ runner.workspace }}/hdf5/hdfsrc/COPYING_LBNL_HDF5 ${{ runner.workspace }}/buildrpm/hdf5
+ cp ${{ runner.workspace }}/hdf5/hdfsrc/README.md ${{ runner.workspace }}/buildrpm/hdf5
+ cp ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-GNUC/*.rpm ${{ runner.workspace }}/buildrpm/hdf5
+ cd "${{ runner.workspace }}/buildrpm"
+ tar -zcvf ${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm hdf5
+ shell: bash
+
- name: List files in the space (Linux)
run: |
ls ${{ github.workspace }}
@@ -165,6 +191,22 @@ jobs:
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
+ # Save files created by ctest script
+ - name: Save published binary deb (Linux)
+ uses: actions/upload-artifact@v4
+ with:
+ name: deb-ubuntu-2204_gcc-binary
+ path: ${{ runner.workspace }}/builddeb/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.deb
+ if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
+
+ # Save files created by ctest script
+ - name: Save published binary rpm (Linux)
+ uses: actions/upload-artifact@v4
+ with:
+ name: rpm-ubuntu-2204_gcc-binary
+ path: ${{ runner.workspace }}/buildrpm/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm
+ if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
+
# Save doxygen files created by ctest script
- name: Save published doxygen (Linux)
uses: actions/upload-artifact@v4