Skip to content
Snippets Groups Projects
Commit dfa8aa74 authored by Abhinav Singh's avatar Abhinav Singh
Browse files

fixing Cpack

parent fa6aa30f
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ jobs: ...@@ -15,7 +15,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
yum clean packages yum clean packages
yum install -y openssh-clients cmake wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel rpm-build --nobest yum install -y openssh-clients cmake wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel yum-utils rpm-build
ln -s /usr/bin/python3 /usr/bin/python ln -s /usr/bin/python3 /usr/bin/python
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
...@@ -62,7 +62,7 @@ jobs: ...@@ -62,7 +62,7 @@ jobs:
ln -s ./LICENSE.md bsd3.txt ln -s ./LICENSE.md bsd3.txt
ln -s ./README.md README.txt ln -s ./README.md README.txt
cd build cd build
export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}/ export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}
printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> cmake_build_options; printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> cmake_build_options;
bash cmake_build_options; bash cmake_build_options;
echo "Calling CPACK" echo "Calling CPACK"
...@@ -120,7 +120,7 @@ jobs: ...@@ -120,7 +120,7 @@ jobs:
ln -s ./LICENSE.md bsd3.txt ln -s ./LICENSE.md bsd3.txt
ln -s ./README.md README.txt ln -s ./README.md README.txt
cd build cd build
export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}/ export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}
printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> cmake_build_options; printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> cmake_build_options;
tail cmake_build_options tail cmake_build_options
bash cmake_build_options; bash cmake_build_options;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment