-
Notifications
You must be signed in to change notification settings - Fork 37
105 lines (76 loc) · 1.84 KB
/
Copy pathci.yml
File metadata and controls
105 lines (76 loc) · 1.84 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
name: ci
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
on:
push:
paths-ignore:
- "cmake/intel.cmake"
- "cmake/cray.cmake"
- ".github/workflows/ci_windows.yml"
- ".github/workflows/ci_macos.yml"
- ".github/workflows/oneapi-linux.yml"
- "docs/**"
- "scripts/**"
- "**.md"
workflow_dispatch:
# avoid wasted runs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
gcc-new:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
hwm14: [false]
os: [ubuntu-24.04]
gcc: [12, 13, 14]
env:
CC: gcc-${{ matrix.gcc }}
CXX: g++-${{ matrix.gcc }}
FC: gfortran-${{ matrix.gcc }}
CMAKE: cmake
CTEST: ctest
runs-on: ${{ matrix.os }}
steps:
- &checkout
uses: actions/checkout@v6
- &pkg
uses: ./.github/workflows/composite-pkg
- &linux-build
uses: ./.github/workflows/composite-unix
cmake-oldest:
timeout-minutes: 30
runs-on: ubuntu-24.04
strategy:
matrix:
cmake_version: ["3.25.3"]
steps:
- *checkout
- *pkg
- uses: ./.github/workflows/composite-cmake
- *linux-build
gcc-old:
timeout-minutes: 30
strategy:
matrix:
hwm14: [false]
os: [ubuntu-22.04]
gcc: [11]
# GCC 10 works, just saving CI testing time
# GCC 9 segfaults on gemini:mini2dns_fang gemini:mini2dew_fang
env:
CC: gcc-${{ matrix.gcc }}
CXX: g++-${{ matrix.gcc }}
FC: gfortran-${{ matrix.gcc }}
CMAKE: cmake
CTEST: ctest
runs-on: ${{ matrix.os }}
steps:
- *checkout
- *pkg
- name: GCC APT
if: matrix.gcc < 11
run: sudo apt install -y --no-install-recommends gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }} gfortran-${{ matrix.gcc }}
- *linux-build