Skip to content

Commit

Permalink
Merge pull request #155 from njoy/actions
Browse files Browse the repository at this point in the history
Implementation of GitHug Actions
  • Loading branch information
jlconlin authored Apr 8, 2020
2 parents 21e8d64 + bc74ab6 commit 25dba49
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 37 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/CI.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/CI2.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/ContinuousIntegration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# GitHub workflow to enable continuous integratoin
name: Continuous Integration

# This workflow is triggered on pushes and pull requests to the repository.
on:
push:
branches: '*'
pull_request:
branches: 'master'

jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-18.04, macos-10.15]
build_type: [ Debug, Release ]
vFortran: [ gfortran-8 ]

steps:
- name: which gfortran
run: |
which ${{matrix.vFortran}}
${{matrix.vFortran}} --version
- uses: actions/checkout@v2
- name: mkdir bin
run: mkdir bin
- name: cmake
run: cmake -D CMAKE_Fortran_COMPILER=`which ${{matrix.vFortran}}` -D CMAKE_BUILD_TYPE=${{matrix.build_type}} ..
working-directory: ./bin
- name: make
run: make -j
working-directory: ./bin
- name: ctest
run: ctest -j
working-directory: ./bin
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![](https://github.com/njoy/NJOY2016/workflows/Continuous%20Integration/badge.svg)

# NJOY2016

The NJOY Nuclear Data Processing System is a modular computer code designed to read evaluated data in ENDF format, transform the data in various ways, and output the results as libraries designed to be used in various applications. Each module performs a well defined processing task. The modules are essentially independent programs, and they communicate with each other using input and output files, plus a very few common variables.
Expand Down

0 comments on commit 25dba49

Please sign in to comment.