-
Notifications
You must be signed in to change notification settings - Fork 70
111 lines (106 loc) · 3.15 KB
/
matrix.yml
File metadata and controls
111 lines (106 loc) · 3.15 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
106
107
108
109
110
111
name: Build and Test
on:
pull_request:
paths-ignore:
- documentation/**
push:
branches:
- main
- release-[0-9]+.[0-9]+*
paths-ignore:
- documentation/**
jobs:
psp:
name: Percona Server for PostgreSQL
strategy:
fail-fast: false
matrix:
pg_package: [psp]
pg_version: [14, 15, 16, 17, 18]
os: [ubuntu-24.04]
compiler: [gcc, clang]
build_type: [debugoptimized]
uses: ./.github/workflows/build-and-test.yml
with:
pg_package: ${{ matrix.pg_package }}
pg_version: ${{ matrix.pg_version }}
os: ${{ matrix.os }}
compiler: ${{ matrix.compiler }}
build_type: ${{ matrix.build_type }}
secrets: inherit
pgdg:
name: PostgreSQL Development Group
strategy:
fail-fast: false
matrix:
pg_package: [pgdg]
pg_version: [14, 15, 16, 17, 18]
os: [ubuntu-24.04]
compiler: [gcc, clang]
build_type: [debugoptimized]
uses: ./.github/workflows/build-and-test.yml
with:
pg_package: ${{ matrix.pg_package }}
pg_version: ${{ matrix.pg_version }}
os: ${{ matrix.os }}
compiler: ${{ matrix.compiler }}
build_type: ${{ matrix.build_type }}
secrets: inherit
macos:
name: MacOS
strategy:
fail-fast: false
matrix:
pg_package: [pgdg-macos]
pg_version: [18]
os: [macos-15]
compiler: [clang]
build_type: [debugoptimized]
uses: ./.github/workflows/build-and-test.yml
with:
pg_package: ${{ matrix.pg_package }}
pg_version: ${{ matrix.pg_version }}
os: ${{ matrix.os }}
compiler: ${{ matrix.compiler }}
build_type: ${{ matrix.build_type }}
secrets: inherit
arm:
name: ARM
if: github.event_name != 'pull_request'
strategy:
fail-fast: false
matrix:
pg_package: [psp]
pg_version: [17, 18]
os: [ubuntu-24.04-arm]
compiler: [gcc, clang]
build_type: [debugoptimized]
uses: ./.github/workflows/build-and-test.yml
with:
pg_package: ${{ matrix.pg_package }}
pg_version: ${{ matrix.pg_version }}
os: ${{ matrix.os }}
compiler: ${{ matrix.compiler }}
build_type: ${{ matrix.build_type }}
secrets: inherit
slack-notification:
if: failure() && github.event_name == 'push'
needs: [psp, pgdg, macos, arm]
name: Slack Notification
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Notify
uses: slackapi/slack-github-action@v2.1.1
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
payload: |
blocks:
- type: "section"
text:
type: "mrkdwn"
text: "Workflow *${{ github.workflow }}* failed on branch *${{ github.ref_name }}*\n
Commit: <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\n
\n
<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View logs>"