-
Notifications
You must be signed in to change notification settings - Fork 15
49 lines (42 loc) · 1.31 KB
/
modules.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Modules
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: GALAHAD -- Check modules
runs-on: ubuntu-latest
steps:
- name: Checkout GALAHAD
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Meson and Ninja
run: pip install meson ninja
- name: Install compilers
uses: fortran-lang/setup-fortran@main
with:
compiler: "gcc"
version: "11"
- name: Setup GALAHAD
shell: bash
run: |
meson setup builddir_int32 --buildtype=debug -Dquadruple=true -Dint64=false -Dssids=false -Dexamples=false -Dtests=false -Dlibblas= -Dliblapack=
meson setup builddir_int64 --buildtype=debug -Dquadruple=true -Dint64=true -Dssids=false -Dexamples=false -Dtests=false -Dlibblas= -Dliblapack=
- name: Build GALAHAD
shell: bash
run: |
meson compile -C builddir_int32
meson compile -C builddir_int64
- name: Install Julia
uses: julia-actions/setup-julia@v2
with:
version: 1
arch: x64
- name: Check the modules
run: julia --color=yes .github/julia/check_modules.jl