Skip to content
Snippets Groups Projects
Commit 021a0a5f authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Merge remote-tracking branch 'origin/master'

parents 71e10c73 18c7e6b8
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ jobs:
steps:
- name: Install dependencies
run: |
yum install -y openssh-clients cmake wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel rpm-build
yum install -y openssh-clients cmake wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel
ln -s /usr/bin/python3 /usr/bin/python
- uses: actions/checkout@v3
with:
......@@ -42,15 +42,17 @@ jobs:
key: ${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: |
${{ matrix.config.name }}-ccache-
- name: Build
- name: Build and Pack
run: |
export PATH="~/ccache-4.8-linux-x86_64/ccache:$PATH"
./build.sh $(pwd) unused pdata 0 ${{ github.ref }}
ln -s ./LICENSE.md bsd3.txt
ln -s ./README.md README.txt
export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}
cd build
printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> cmake_build_options;
bash cmake_build_options;
yum install rpm-build
echo "Calling CPACK"
cpack -G RPM centos
if [ $? -ne 0 ]; then
......@@ -93,7 +95,8 @@ jobs:
export CXX=g++-12
./build.sh $(pwd) unused pdata 0 ${{ github.ref }}
ln -s ./LICENSE.md bsd3.txt
ln -s ./README.md README.txt
ln -s ./README.md README.txt
export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}
cd build
printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> 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