2021-04-02 11:14:45 +02:00
|
|
|
# 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
|
2021-06-11 14:34:19 +02:00
|
|
|
runs-on: self-hosted
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash
|
2021-04-02 11:14:45 +02:00
|
|
|
|
|
|
|
# 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
|
2021-06-11 14:34:19 +02:00
|
|
|
- name: Compile
|
2021-04-02 11:14:45 +02:00
|
|
|
run: |
|
2021-06-11 14:34:19 +02:00
|
|
|
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"
|
|
|
|
|