Skip to content

Merge pull request #49 from andriish/remove_autotools_build #19

Merge pull request #49 from andriish/remove_autotools_build

Merge pull request #49 from andriish/remove_autotools_build #19

Workflow file for this run

name: build
on:
push:
pull_request:
schedule:
#Every 50 days at midnight
- cron: "0 0 1/600 * *"
jobs:
compilejobFedora:
name: APFEL_on_Fedora
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
run: |
yum -y install gcc gcc-c++ gcc-gfortran make wget which cmake cmake-data cmake-filesystem lhapdf lhapdf-devel swig python-devel
- name: Compile
run: |
cmake -S . -B BUILD -DCMAKE_INSTALL_PREFIX=$(pwd)/../INSTALL
cmake --build BUILD -j
cmake --install BUILD
ctest --test-dir BUILD -j 2
compilejobOSX:
runs-on: macos-latest
name: APFEL_on_OSX
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
run: |
brew install wget coreutils gcc swig
brew tap davidchall/hep
brew install lhapdf
- name: Compile
run: |
cmake -S . -B BUILD -DCMAKE_INSTALL_PREFIX=$(pwd)/../INSTALL -DCMAKE_Fortran_COMPILER=gfortran-13
cmake --build BUILD -j 2
cmake --install BUILD
ctest --test-dir BUILD -j 2