1
0
mirror of https://github.com/TREX-CoE/fparser.git synced 2024-10-02 06:21:08 +02:00
fparser/.github/workflows/build_fparser.yml
2021-06-11 14:34:19 +02:00

44 lines
1.2 KiB
YAML

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the minimal branch
push:
branches: [ minimal ]
pull_request:
branches: [ minimal ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: self-hosted
defaults:
run:
shell: bash
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Compile
run: |
echo "Working directory ::"
echo $PWD
echo "Configure ::"
./configure --prefix=$PWD FC=ifort CC=icc
echo "Make ::"
make
echo "Make install::"
make install
echo "Compilation is sucessfull"