-
Notifications
You must be signed in to change notification settings - Fork 200
110 lines (110 loc) · 4.91 KB
/
test-on-osx.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
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
106
107
108
109
110
name: Test on OS X
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
inputs:
debug_enabled:
description: 'Run the tests with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
schedule:
# Run at 8:13 on the 1st day of each month
- cron: '13 8 1 * *'
jobs:
macOS-12:
runs-on: macos-12
env:
COMPILER: ${{ matrix.config.compiler }}
STL: ${{ matrix.config.stl }}
OS: osx
steps:
- uses: actions/checkout@v3
- name: install
run: extras/scripts/ci_install_osx.sh
- name: test
run: extras/scripts/postsubmit.sh ${{ matrix.config.test }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
strategy:
fail-fast: false
matrix:
config:
- {compiler: clang-default, stl: libc++, test: ReleasePlainNoPchNoClangTidy}
- {compiler: clang-default, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy}
- {compiler: clang-default, stl: libc++, test: DebugPlainNoPchNoClangTidy}
- {compiler: clang-14.0, stl: libc++, test: ReleasePlainNoPchNoClangTidy}
- {compiler: clang-14.0, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy}
- {compiler: clang-14.0, stl: libc++, test: DebugPlainNoPchNoClangTidy}
- {compiler: clang-11.0, stl: libc++, test: ReleasePlainNoClangTidy}
- {compiler: clang-11.0, stl: libc++, test: DebugAsanUbsanNoClangTidy}
# Disabled due to https://github.com/iains/gcc-12-branch/issues/6
# - {compiler: gcc-11, test: ReleasePlainNoPchNoClangTidy}
# - {compiler: gcc-11, test: DebugPlainNoPchNoClangTidy}
# - {compiler: gcc-9, test: ReleasePlainNoClangTidy}
# - {compiler: gcc-9, test: DebugPlainNoClangTidy}
macOS-11:
runs-on: macos-11
env:
COMPILER: ${{ matrix.config.compiler }}
STL: ${{ matrix.config.stl }}
OS: osx
steps:
- uses: actions/checkout@v3
- name: install
run: extras/scripts/ci_install_osx.sh
- name: test
run: extras/scripts/postsubmit.sh ${{ matrix.config.test }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
strategy:
fail-fast: false
matrix:
config:
- {compiler: clang-default, stl: libc++, test: ReleasePlainNoPchNoClangTidy}
- {compiler: clang-default, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy}
- {compiler: clang-default, stl: libc++, test: DebugPlainNoPchNoClangTidy}
- {compiler: clang-14.0, stl: libc++, test: ReleasePlainNoPchNoClangTidy}
- {compiler: clang-14.0, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy}
- {compiler: clang-14.0, stl: libc++, test: DebugPlainNoPchNoClangTidy}
- {compiler: clang-12.0, stl: libc++, test: ReleasePlainNoClangTidy}
- {compiler: clang-12.0, stl: libc++, test: DebugAsanUbsanNoClangTidy}
- {compiler: gcc-11, test: ReleasePlainNoPchNoClangTidy}
- {compiler: gcc-11, test: DebugPlainNoPchNoClangTidy}
- {compiler: gcc-9, test: ReleasePlainNoClangTidy}
- {compiler: gcc-9, test: DebugPlainNoClangTidy}
macOS-10-15:
runs-on: macos-10.15
env:
COMPILER: ${{ matrix.config.compiler }}
STL: ${{ matrix.config.stl }}
OS: osx
steps:
- uses: actions/checkout@v3
- name: install
run: extras/scripts/ci_install_osx.sh
- name: test
run: extras/scripts/postsubmit.sh ${{ matrix.config.test }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
strategy:
fail-fast: false
matrix:
config:
- {compiler: clang-default, stl: libc++, test: ReleasePlainNoPchNoClangTidy}
- {compiler: clang-default, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy}
- {compiler: clang-default, stl: libc++, test: DebugPlainNoPchNoClangTidy}
- {compiler: clang-14.0, stl: libc++, test: ReleasePlainNoPchNoClangTidy}
- {compiler: clang-14.0, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy}
- {compiler: clang-14.0, stl: libc++, test: DebugPlainNoPchNoClangTidy}
- {compiler: clang-12.0, stl: libc++, test: ReleasePlainNoClangTidy}
- {compiler: clang-12.0, stl: libc++, test: DebugAsanUbsanNoClangTidy}
- {compiler: gcc-11, test: ReleasePlainNoPchNoClangTidy}
- {compiler: gcc-11, test: DebugPlainNoPchNoClangTidy}
- {compiler: gcc-9, test: ReleasePlainNoClangTidy}
- {compiler: gcc-9, test: DebugPlainNoClangTidy}