Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
90032f96
Commit
90032f96
authored
1 year ago
by
Abhinav Singh
Browse files
Options
Downloads
Patches
Plain Diff
fixing Cpack
parent
5556b08f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/main.yml
+31
-19
31 additions, 19 deletions
.github/workflows/main.yml
with
31 additions
and
19 deletions
.github/workflows/main.yml
+
31
−
19
View file @
90032f96
...
...
@@ -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 rpm-build
--skip-broken
ln -s /usr/bin/python3 /usr/bin/python
-
uses
:
actions/checkout@v3
with
:
...
...
@@ -33,17 +33,25 @@ jobs:
uses
:
hendrikmuhs/ccache-action@v1.2
-
name
:
Build
run
:
|
export PATH="~/openfpm_dependencies/ccache-4.8-linux-x86_64/ccache:$PATH"
./build.sh $(pwd) unused pdata 0 ${{ github.ref }}
-
uses
:
actions/cache/save@v3
if
:
always()
with
:
path
:
~/openfpm_dependencies/
key
:
almalinux-dep-${{ github.ref }}
-
name
:
Create bundle
run
:
|
export PATH="$PATH:/usr/local/bin:"
source $HOME/openfpm_vars
version=$(uname -m)
ln -s ./LICENSE.md bsd3.txt
ln -s ./README.md README.txt
cp $HOME/openfpm_vars $HOME/openfpm_dependencies/${{ github.ref }}/
cp $HOME/.openfpm.mk $HOME/openfpm_dependencies/${{ github.ref }}/
cd build
export DEP_PACKING=
~
/openfpm_dependencies/${{ github.ref }}/
export DEP_PACKING=
$HOME
/openfpm_dependencies/${{ github.ref }}/
printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> cmake_build_options;
bash cmake_build_options;
cp ~/openfpm_vars ~/openfpm_dependencies/${{ github.ref }}/
cp ~/.openfpm.mk ~/openfpm_dependencies/${{ github.ref }}/
echo "Calling CPACK"
cpack -G RPM centos
if [ $? -ne 0 ]; then
...
...
@@ -51,11 +59,7 @@ jobs:
exit 1
fi
mv openfpm_pdata-$ofp_version-Linux.rpm openfpm-$ofp_version-nightly-Linux-$version.rpm
-
uses
:
actions/cache/save@v3
if
:
always()
with
:
path
:
~/openfpm_dependencies/
key
:
almalinux-dep-${{ github.ref }}
-
name
:
Upload Artifact
uses
:
actions/upload-artifact@v2
with
:
...
...
@@ -82,19 +86,31 @@ jobs:
key
:
macos-dep-${{ github.ref }}
-
name
:
Build
run
:
|
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
export CC=gcc-12
export CXX=g++-12
./build.sh $(pwd) unused pdata 0 ${{ github.ref }}
-
uses
:
actions/cache/save@v3
if
:
always()
with
:
path
:
~/openfpm_dependencies/
key
:
macos-dep-${{ github.ref }}
-
name
:
Create bundle
run
:
|
export PATH="$PATH:/usr/local/bin:"
export CC=gcc-12
export CXX=g++-12
source $HOME/openfpm_vars
version=$(uname -m)
ln -s ./LICENSE.md bsd3.txt
ln -s ./README.md README.txt
cp $HOME/openfpm_vars $HOME/openfpm_dependencies/${{ github.ref }}/
cp $HOME/.openfpm.mk $HOME/openfpm_dependencies/${{ github.ref }}/
cd build
export DEP_PACKING=
~
/openfpm_dependencies/${{ github.ref }}/
export DEP_PACKING=
$HOME
/openfpm_dependencies/${{ github.ref }}/
printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> cmake_build_options;
tail cmake_build_options
bash cmake_build_options;
cp ~/openfpm_vars ~/openfpm_dependencies/${{ github.ref }}/
cp ~/.openfpm.mk ~/openfpm_dependencies/${{ github.ref }}/
echo "Calling CPACK"
cpack -G productbuild osx
if [ $? -ne 0 ]; then
...
...
@@ -102,11 +118,7 @@ jobs:
exit 1
fi
mv openfpm_pdata-$ofp_version-Darwin.pkg openfpm-$ofp_version-nightly-Darwin-$version.pkg
-
uses
:
actions/cache/save@v3
if
:
always()
with
:
path
:
~/openfpm_dependencies/
key
:
macos-dep-${{ github.ref }}
-
name
:
Upload Artifact
uses
:
actions/upload-artifact@v2
with
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment