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

update to yml

parent bf3e13db
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
yum install -y openssh-clients cmake ccache wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel
ln -s /usr/bin/python3 /usr/bin/python
- uses: actions/checkout@v3
with:
......@@ -47,7 +47,7 @@ jobs:
cp $HOME/.openfpm.mk $HOME/openfpm_dependencies/
bash cmake_build_options;
echo "Calling CPACK"
cpack -G $generator
cpack
if [ $? -ne 0 ]; then
echo "Error creating package"
......@@ -94,6 +94,14 @@ jobs:
- name: Create bundle
run: |
export PATH="$PATH:/usr/local/bin:"
if [ x"uname -m" == x"aarch64-apple-darwin20" ]; then
version="$version-m1"
eval "$(/opt/homebrew/bin/brew shellenv)"
else
version="$version-x86"
fi
ln -s ./LICENSE.md bsd3.txt
ln -s ./README.md README.txt
cd build
......@@ -104,7 +112,7 @@ jobs:
cp $HOME/.openfpm.mk $HOME/openfpm_dependencies/
bash cmake_build_options;
echo "Calling CPACK"
cpack -G $generator
cpack
if [ $? -ne 0 ]; then
echo "Error creating package"
......
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