summaryrefslogtreecommitdiff
path: root/.github/workflows/ci_frameworks.yml
blob: 1ace2a6bf29a20908fc2b36cb164333325d6be8c (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: ci_frameworks

on:
  push:
    paths:
      - "mesonbuild/dependencies/**"
      - "test cases/frameworks/**"
      - ".github/workflows/ci_frameworks.yml"
  pull_request:
    paths:
      - "mesonbuild/dependencies/**"
      - "test cases/frameworks/**"
      - ".github/workflows/ci_frameworks.yml"

jobs:

  scalapackMacOS:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v2
      with:
        python-version: '3.x'
    - run: python -m pip install -e .
    - run: brew install pkg-config ninja gcc openmpi lapack scalapack
    - run: meson setup "test cases/frameworks/30 scalapack" build
    - run: meson compile -C build
    - uses: actions/upload-artifact@v1
      if: failure()
      with:
        name: Scalapack_Mac_build
        path: build/meson-logs/meson-log.txt
    - run: meson test -C build -v
    - uses: actions/upload-artifact@v1
      if: failure()
      with:
        name: Scalapack_Mac_test
        path: build/meson-logs/testlog.txt

  HDF5macos:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v2
      with:
        python-version: '3.x'
    - run: python -m pip install -e .
    - run: brew install pkg-config ninja gcc hdf5
    - run: meson setup "test cases/frameworks/25 hdf5" build -Dmethod=config-tool
    - run: meson compile -C build
    - uses: actions/upload-artifact@v1
      if: failure()
      with:
        name: HDF5_Mac_build
        path: build/meson-logs/meson-log.txt
    - run: meson test -C build -v
    - uses: actions/upload-artifact@v1
      if: failure()
      with:
        name: HDF5_Mac_test
        path: build/meson-logs/testlog.txt

  Qt4macos:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v2
      with:
        python-version: '3.x'
    - run: python -m pip install -e .
    - run: brew install pkg-config ninja gcc
    - run: brew tap cartr/qt4
    - run: brew install qt@4
    - run: meson setup "test cases/frameworks/4 qt" build -Drequired=qt4
    - run: meson compile -C build
    - uses: actions/upload-artifact@v1
      if: failure()
      with:
        name: Qt4_Mac_build
        path: build/meson-logs/meson-log.txt
    - run: meson test -C build -v
    - uses: actions/upload-artifact@v1
      if: failure()
      with:
        name: Qt4_Mac_test
        path: build/meson-logs/testlog.txt