-
Notifications
You must be signed in to change notification settings - Fork 37
89 lines (64 loc) · 1.58 KB
/
Copy pathci.yml
File metadata and controls
89 lines (64 loc) · 1.58 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
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:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
hwm14: [false]
os: [ubuntu-latest]
gcc: [11, 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@v7
- name: Install GCC if needed (Linux)
shell: bash
if: ${{ runner.os == 'Linux' && matrix.gcc < 12 }}
run: sudo apt install -y --no-install-recommends gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }} gfortran-${{ matrix.gcc }}
- &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
gnu_make:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- *checkout
- *pkg
- run: cmake --workflow gmake