4
1
mirror of https://github.com/pfloos/quack synced 2024-12-23 04:43:53 +01:00
quack/.github/workflows/compilation.yml

41 lines
730 B
YAML
Raw Normal View History

2024-11-15 11:30:55 +01:00
name: QuAcK Compilation
on:
push:
branches:
- ci
pull_request:
branches:
- master
jobs:
2024-11-15 17:22:07 +01:00
build:
2024-11-15 11:30:55 +01:00
runs-on: ubuntu-20.04
name: Dependencies
steps:
2024-11-15 17:22:07 +01:00
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gfortran gcc liblapack-dev libblas-dev wget python3 make m4 pkg-config
- name: Configuration
run: |
./configure -i ninja || :
- name: Compilation
run: |
bash -c "source quack.rc ; cd src ; make"
- name: Upload compiled binary
uses: actions/upload-artifact@v3
with:
name: fortran-binary
path: ./bin/QuAcK
2024-11-15 11:30:55 +01:00