mirror of
https://github.com/pfloos/quack
synced 2024-12-22 12:23:42 +01:00
workflow for checking compilation
This commit is contained in:
parent
069cb76a7a
commit
ea23222b35
37
.github/workflows/compilation.yml
vendored
Normal file
37
.github/workflows/compilation.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: QuAcK Compilation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- ci
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
configuration:
|
||||
runs-on: ubuntu-20.04
|
||||
name: Dependencies
|
||||
|
||||
steps:
|
||||
- name: install dependencies
|
||||
run: |
|
||||
sudo apt install gfortran gcc liblapack-dev libblas-dev wget python3 make m4 pkg-config
|
||||
|
||||
compilation:
|
||||
name: Compilation
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Configuration
|
||||
run: |
|
||||
./configure -i ninja || :
|
||||
- name: Compilation
|
||||
run: |
|
||||
bash -c "source quack.rc ; cd src ; exec make"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user