-
abhinavsns authoredabhinavsns authored
main.yml 769 B
name: OpenFPM_CI
on:
pull_request:
push:
branches:
- master
release:
jobs:
build:
runs-on: ubuntu-latest
container: almalinux:8.5
steps:
- name: Install dependencies
run: |
yum install -y openssh-clients cmake wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel openmpi boost suitesparse
ln -s /usr/bin/python3 /usr/bin/python
- uses: actions/checkout@v3
with:
submodules: true
- name: Cache dependencies
uses: actions/cache/save@v3
if: always()
with:
path: ~/openfpm_dependencies/
key: dependencies-${{ github.ref }}
- name: Build
run: ./build.sh $(pwd) unused pdata 0 ${{ github.ref }}